The Needs Review Queue Bot → tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- 🇮🇳India pooja saraah Chennai
Fixed failed commands on #61
Attached patch against Drupal 10.1.x
Attached interdiff - 🇧🇪Belgium DuneBL
Unfortunately, I have patched the core files (#56 for 9.5) but the reset password process lead to an access denied page. Removing the D7 cookies solve this issue.
@DuneBL Did you configure a session suffix after installing the patch?
- 🇧🇪Belgium DuneBL
No, I didn't... and I have no clue on how to do it... many thanks for pointing me to this... If you can provide me some explanation it would be great
Copy default.services.yml to services.yml, if you don't have one. Edit, or add a
session_suffix
key after thesid_bits_per_character
key. Put a short string of characters in it. That's how this patch works, but it lacks documentation at this time.In my opinion, for clarity the configuration key and its reference in code should be
session_name_suffix
rather thansession_suffix
.In fact
name_suffix
would be short and accurate, because the context is clearly about sessions.- 🇧🇪Belgium DuneBL
@cilefen many thanks it is working. I confirm patch #56 is working on 9.5
- Status changed to Needs review
11 months ago 1:35pm 21 December 2023 - 🇬🇧United Kingdom jofitz
- last update
11 months ago Build Successful - last update
11 months ago Custom Commands Failed 37:02 35:57 Running- last update
11 months ago Patch Failed to Apply - last update
11 months ago Patch Failed to Apply - last update
11 months ago 25,896 pass, 1,807 fail - last update
11 months ago 29,723 pass - Status changed to Needs work
11 months ago 2:10pm 21 December 2023 - 🇺🇸United States smustgrave
Would be good to see the issue summary updated to the standard template,
Previously tagged for a change record.
Recommend using MRs
- last update
11 months ago Build Successful - last update
7 months ago Custom Commands Failed - First commit to issue fork.
- Merge request !7971Issue #2868384: Can't login after upgrading from Drupal 7 to 8 due to stale cookies → (Closed) created by poker10
- Status changed to Needs review
7 months ago 6:51pm 8 May 2024 - 🇸🇰Slovakia poker10
Thanks all for working on this! I have converted the latest patch to the MR. Also updated the name as per #69.
Draft CR is here: https://www.drupal.org/node/3446100 →
I think this issue is pretty important to fix, as with the D7 EOL approaching, this has potential to cause a lot of troubles to sites still going to migrate. We were also caught by this on a few sites and no user with a D7 cookie was able to login until the cookie was deleted.
Pipeline seems to be green, moving to Needs review.
- Status changed to RTBC
7 months ago 12:04am 9 May 2024 - 🇺🇸United States smustgrave
Slight title update as assuming this is an issue no matter the landing version.
Reviewing the issue summary solution and seems straight forward about adding the suffix, also reviewed the CR and reads fine to me.
Reviewing the code changes and appears to be doing as advertised, test coverage update seems to be there too.
Believe this is probably good.
- Status changed to Needs work
7 months ago 2:10am 9 May 2024 - 🇳🇿New Zealand quietone
I reviewed the comments and I think they need improvement. Also, the title is the statement of the problem not what is being changed. The change record title is more what I am thinking. Although the change record does not need Drupal in the title because it is a change record for Drupal :-).
The change record title could be 'The session_name suffix can be configured.' and the issue title "Allow the session_name suffix to be configurable'
Finally, should it be 'session name' or 'session_name' in the documentation. I'd also like to know why if it a session name suffix why not name the new property 'session_name_suffix'?
The full name is session.storage.options.name_suffix, which to me makes more sense than session.storage.options.session_name_suffix.
- Status changed to Needs review
7 months ago 9:40am 9 May 2024 - 🇸🇰Slovakia poker10
I have updated the comments in the MR (still open to further suggestions), issue title and the CR.
I have not used
session_name
(with underscore) in those sentences, but instead usedsession name
, because from what I have seen, we use this phrase without underscore on different places in code already (phrasesession_name
is only used as a$session_name
variable). So I think it would be better without the underscore.Also agree with @cilefen, that the
name_suffix
is probably sufficient, as it is under thesession.storage.options
.Thanks!
- 🇸🇰Slovakia poker10
Actually after the suggested title change, it may look like this is no longer a "Bug report", but I suggest this is still treated as a bug, because it is still a broken functionality related to D7 -> D10 upgrade (and pretty major).
- 🇸🇰Slovakia poker10
There is an unrelated MR pipeline failure. It seem to be related to this: 🐛 Composer tests fail because of invalid Drupal version Fixed
Therefore keeping this as Needs Review.
- Status changed to RTBC
7 months ago 1:46pm 9 May 2024 - 🇺🇸United States smustgrave
From what I can tell the feedback has been addressed. The added comment definitely clearly states what this is for and does.
- Status changed to Needs work
7 months ago 9:03am 10 May 2024 - 🇬🇧United Kingdom alexpott 🇪🇺🌍
There are failed tests - can the MR be updated for the latest changes and have a green test run.
- Status changed to RTBC
7 months ago 12:37pm 10 May 2024 - 🇫🇮Finland sokru
Rebased and the tests are now green, so setting the status to RTBC.
- Status changed to Fixed
6 months ago 1:44pm 20 May 2024 - 🇬🇧United Kingdom catch
This looks good to me now. Committed/pushed to 11.x and cherry-picked to 11.0.x, 10.4.x, 10.3.x, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.