Moin
2월 23, 2026, 4:47오후
1
자동화 플러그인으로 생성된 예약된 Data Explorer 결과가 포함된 메시지 및 게시물 내 링크가 변경되었습니다. 새 게시물에는 올바른 URL이 포함되도록 텍스트가 업데이트되었지만, 기존 게시물에 있는 모든 링크가 깨집니다.
쿼리로 이동할 수 있도록 리다이렉트를 설정할 수 있을까요? 그렇지 않으면
2개의 좋아요
martin
(Martin Brennan)
2월 23, 2026, 11:25오후
3
오늘 기존 링크에 대한 리다이렉트를 설정할게요. 사람들이 DE 링크를 북마크하거나 사이드바에 추가하는 경우가 얼마나 많은지 놓치고 있었네요. 죄송합니다.
2개의 좋아요
martin
(Martin Brennan)
2월 24, 2026, 1:36오전
5
수정 사항이 올라왔습니다. 오늘 퇴근 전에 머지되길 바랍니다:
main ← issue/redirect-de-urls
merged 07:50AM - 24 Feb 26 UTC
Followup e14af1c251c6206ec627bd7a72c52c914fe4c1d9
People often bookmark data … explorer queries or add them to their
sidebar. In the previous commit, we changed the URLs for queries to
follow the admin plugin URL guidelines, but didn't redirect old URLs to
the new ones.
This commit adds those redirects, so that old URLs will still
function and users won't lose access to their bookmarked queries.
Also changes the Edit label to View on the query list to make
it clearer that you can Run or Edit the query in the same place.
1개의 좋아요
Moin
2월 24, 2026, 2:21오후
6
음. URL이 변경되기 전에 자동화에서 보낸 메시지의 링크는 <a href='https://my-forum.discourse.group/admin/plugins/explorer/queries/79'>데이터 탐색기에서 쿼리 보기</a>입니다.
더 이상 오류 페이지로 이동하지 않습니다 . 이제 https://my-forum.discourse.group/admin/plugins/discourse-data-explorer/queries로 이동합니다. https://my-forum.discourse.group/admin/plugins/discourse-data-explorer/queries/79로 이동하기를 바랐습니다.
1개의 좋아요
martin
(Martin Brennan)
2월 24, 2026, 11:10오후
7
음, 어제는 그 형식을 테스트해 봤는데… 한 번 더 확인해서 수정하겠습니다. 특정 쿼리로 이동해야 한다는 데 동의합니다.
1개의 좋아요
martin
(Martin Brennan)
2월 25, 2026, 2:49오전
12
흥미로운 점은, 쿼리 ID가 포함된 기존 URL 중 하나를 직접 입력하면 정상적으로 동작했지만, 해당 URL이 포함된 링크를 클릭하면 /queries 페이지로 리다이렉트되었다는 것입니다. 수정 내용은 다음과 같습니다:
main ← issue/fix-de-query-link-click
merged 03:31AM - 25 Feb 26 UTC
Followup 174ad83901a6641248de133d267dc6ae2364d818
We had the empty route file… `plugins/discourse-data-explorer/assets/javascripts/discourse/routes/admin-plugins/explorer/queries.js`
in the PR for the above commit but removed it before merge....
however it was actually necessary to properly redirect
old DE query links (not a direct URL in the browser address bar)
to the new query page e.g. `/admin/plugins/explorer/queries/:id`
to `/admin/plugins/discourse-data-explorer/queries/:id`
This commit adds the empty route file back to make this work.
The root cause here is that when Ember's resolver looks up a route
handler for `adminPlugins.explorer.queries`, it searches for a module with
the suffix routes `/admin-plugins/explorer/queries`. Since no file
queries.js exists at that path, the resolver's suffix trie falls back to
`routes/admin-plugins/explorer/queries/index` — finding queries/index.js
and using its class (`AdminPluginsExplorerQueriesIndexRoute`) as the
handler for the parent queries route.
This means when the router transitions to
`adminPlugins.explorer.queries.details` it first enters the parent
queries route, which runs the index handler's `beforeModel` —
redirecting to `/admin/plugins/discourse-data-explorer/queries` and
aborting the transition before the details route is ever reached.
2개의 좋아요
system
(system)
에 닫힘
3월 21, 2026, 6:04오전
14
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.