プロジェクト

全般

プロフィール

Vote #76862

完了

Keep anchor (i.e. to a specific issue note) throughout login

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Accounts / authentication_7
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
7
version_id:
102
issue_org_id:
21110
author_id:
40856
assigned_to_id:
1
comments:
5
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Problem

When not logged in and following a 'deep' link to a specific issue note, the user is first redirected to the sign in form, and after successful login the user is just sent to the top of the issue page because the anchor (i.e. @#note-23@) got lost along the way.

Solution

The anchor is not transferred to the server, so in order to keep it we need to introduce a bit of Javascript to preserve it when the login form is submitted.


journals

Works fine with Firefox, but doesn't work with Chrome 46.
--------------------------------------------------------------------------------
Oh. Any JS errors? Chrome 45 works.
--------------------------------------------------------------------------------
I just checked in Chrome 47 / Linux and had a colleague check Chrome 46 / OSX 10.9 and both worked fine as well.
--------------------------------------------------------------------------------
Sorry, my fault. Committed in r14767, thanks.
--------------------------------------------------------------------------------
Workin' great. Thanks a lot Jean-Philippe :-)

Checked with Chrome 56, IE 11, Firefox 50.1
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリAccounts / authentication_7 にセット
  • 対象バージョン3.2.0_102 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0