- Issue created by @eelkeblok
- Status changed to Postponed: needs info
over 1 year ago 2:00pm 15 February 2024 - Status changed to Active
over 1 year ago 2:54pm 15 February 2024 - π³π±Netherlands eelkeblok Netherlands π³π±
I haven't actually tested because it would take quite some time, but unless you know (or suspect; I'd be happy to put in some more legwork in that case) this was actually changed between 2.x and 3.x, I'm fairly sure from inspecting the code it has not changed and the same is true for 3.x. See https://git.drupalcode.org/project/security_review/-/blob/3.0.x/src/Secu.... The state service passed into that service is just the plain state service from core.
- Status changed to Postponed: needs info
over 1 year ago 2:56pm 15 February 2024 - π³π±Netherlands eelkeblok Netherlands π³π±
In fact, let me just switch to 3.0. It's not mission critical, so maybe more relevant to do my work on that.
- πΊπΈUnited States smustgrave
You'll probably have to uninstall and reinstall at 3.x
Did a lot of refactoring in 3.x and didn't really have time for an upgrade path.
- π³π±Netherlands eelkeblok Netherlands π³π±
I did just that on my dev environment. I'll be curious to see what happens on the test environment, where it will be a straight "update" in the sense that it will just do a config import of the changed config.
- πΊπΈUnited States smustgrave
As long as the old config is gone.
On 2.0.x the config was broken up into like a dozen files. I've consolidated that.
- Status changed to Active
over 1 year ago 5:20pm 17 February 2024 - π³π±Netherlands eelkeblok Netherlands π³π±
I checked on 3.0, but this has not changed.
- π³π±Netherlands eelkeblok Netherlands π³π±
One remaining decision I see is what to do with the old value if we provide an update hook to set the new variable. Are we going to assume it is nit used by anything else and delete it, or err on the safe side and leave it be, in case some other code is inadvertently making use of the same value?
- π³π±Netherlands eelkeblok Netherlands π³π±
Changed suggested new name because the uid and group are specifically about the user with which drush runs on the server.
- π³π±Netherlands eelkeblok Netherlands π³π±
BTW, I now get why this is the way it is. It has everything to do with #2902571: `last_run` should be a part of state, not config β , where 'config' was simply replaced by 'state'. Except, 'config' was the module's own config item, while 'state' is the generic state key value store.
- Merge request !58Issue #3421614: Use a more specific name for the last_run state variable β (Merged) created by eelkeblok
- Status changed to Needs review
over 1 year ago 3:46pm 21 February 2024 -
smustgrave β
committed 31f36cf3 on 3.0.x authored by
eelkeblok β
Issue #3421614: Use a more specific name for the last_run state variable
-
smustgrave β
committed 31f36cf3 on 3.0.x authored by
eelkeblok β
- Status changed to Fixed
over 1 year ago 4:10pm 21 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.