-
Notifications
You must be signed in to change notification settings - Fork 100
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
Owners et editors dont get imported from config files while upgrading to 6.2.36 #459
Comments
Possiblly related issue: #1. |
At least looking the source, owner/editor in config files are migrated during sympa/src/lib/Sympa/Upgrade.pm Lines 1794 to 1810 in 4e01624
|
The code you mention does not help much because
I suggest changing the upgrade code to
|
Your suggestion looks right. However, I wonder why some lists won’t sync owners/editors with db despite they were open. I’ll investigate for a while. |
I'll merge pr above into the next beta today. Please check if it will work. |
I did a quick test: it seems to do the job. |
Version
Moving from Sympa 6.2.16 to 6.2.36
Installation method
Installation from sources
Expected behavior
As stated in the changelog : Owners and moderators are no longer stored in list config file: They are stored only in database #49. However I would expect that the upgrade process to 6.2.36 would take a last look at list config files to import owners/editors in database.
Actual behavior
While running
sympa.pl --upgrade
I noticed a couple of these errors :I checked and found out that:
I don't know why owners definition were not in sync between config file and database. It might be related to #11020.
The problem is that I don't have any easy way to force the update of admin_table, now that Sympa::List::_load_list_admin_from_config() subroutine has been removed.
I ended up writing this script to fix things:
It would make sense that the upgrade process does reload owners+editors from config files a last time; don't you think so?
The text was updated successfully, but these errors were encountered: