-
-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert the type on the UserJob entity to be a string #23888
Conversation
(Standard links)
|
c9a5979
to
e2ed102
Compare
Currently we are storing a numeric ID - however if we permit non-core classes to register types we find numeric ids quickly become hard to manage as uninstalling an extension could change the id. This switches to using a string type
e2ed102
to
d2b81f5
Compare
Scope looks fairly sensible. I'll give it an r-run. |
r-run: DB Upgrade: I did some imports on r-run: Import UI: I ran "Import Contacts", "Import Activities", and "Import Custom Data" (mostly using Seems like a relevant warning? |
Ah - that needs to be changed to |
@totten if it is just that e-notice are you OK to merge this & then I will do a follow up for it? It's a bit easier for me that way |
eg When running "Import Activities", the page-title for the summary is incorrect.
Well, I hadn't dug into see if the warning was meaningful. So I took a look now - and, in fact, page-title was wrong when using "Import Activities". Added a commit to fix. |
lol yep - I knew that was it - I just didn't want to play the rebase game :-) |
Grepped around for other references to
But that has no functional impact. That can be follow-up. Aside for the record - as eileen noted elsewhere, this field is pretty new and only becomes meaningful with 5.51. So we don't expect that contrib has any Merge on pass. |
AFAICS, #23893 doesn't have any changes affecting |
@totten I would have had to to update this PR without overwriting your patch |
Overview
Currently we are storing a numeric ID - however if we
permit non-core classes to register types we find numeric ids
quickly become hard to manage as uninstalling an extension could
change the id. This switches to using a string type
Before
civicrm_user_job
usestype_id
to track the job 'type' - but this can't be extended because an integer variesAfter
civicrm_user_job
now usersjob_type
- a var charTechnical Details
Comments