-
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
Family updates don't propagates owners/editors changes in the database #309
Comments
Hi @salaun-urennes1, Thanks for detailed report. PR #275 says:
This change conciders creating, pending, opening, closing (or purging) and restoring lists, but not updating list. It is a bug. I'll try to fix it. |
Hi Soji, I had a try with |
Hi,
Yes, they are new things. We have to describe them at least in document before release of 6.2.34.
I agree. It has been done on |
Hi @salaun-urennes1, Could you please check PR above? (Or use patch). Thanks, I prepared documentation page: sympa-community/sympa-community.github.io@9610fc1 |
Hi Soji, I had a try with the patch. Thank you. |
Family updates don't propagate owners/editors changes in the database #309
Thanks for confirming fix! If you have the time, you'd be better to check bulk instantiation and family closure also (though I didn't touch these functions). |
During the Hackathon I started working on functional tests (that might be useful for continuous integration). This work should allow automatic testing of bulk instantiation and family closure. I'll send more information in the sympa-dev mailing list later on... |
I reopen this bug because we found a new issue related to list families and the new management of list owners and editors. As stated in the documentation a list belonging to a family can still be customized by list owner. The list of customized parameters is stored in the We have mailing lists with such customizations, including customization of list owners and editors. The Sympa logs show
But now that Remember that code you added in sympa/src/lib/Sympa/Request/Handler/update_automatic_list.pm Lines 160 to 163 in 5b8e3bd
The same code should be ran in Lines 409 to 415 in 5b8e3bd
...and also in Lines 1964 to 1969 in 5b8e3bd
|
In the meanwhile our workaround is to run this code for each list after our daily family instantiation:
|
Olivier, I wish you to review new (after 6.2.32) documentation about dump files. Is this current behavior reasonable? Notes/questions:
|
I had a look at https://sympa-community.github.io/manual/customize/basics-list-config.html#dump-files. I understand what is the new behavior. I suggest adding a note in that part of the documentation to let the reader understand what was the previous behavior of Sympa (owners and editors being represented as config file parameters) explaining why it has been changed. I think it's quite confusing that Regarding Here is a sample
When a list (belonging to a family) in updated (through But now that Do these explanations help? |
Or, we may make family instantiation behaving the same as previous behavior. Reading your explanation below, I think the recent behavior replacing owners/moderators everytime lists are modified/instatiated is not the same.
I agree. I thought of compatibility to If no objection, I'll work for correction on two points above.
Thank you! I understood. However, I feel
Edit: I was complicated a bit. I'll post another comment afterward. |
Sorry, I don't understand this statement.
That would be great.
I must admit I did not fully understand what you meant indeed. |
Current documentation says:
I understood that replacement should occur only when
Backups of past |
Hi @salaun-urennes1,
If there seems no problem, I'll submit changes above as new PR. |
That's right.
The standard config backup if fine.
I will do my best to have a look at your patch today. If not, please submit a PR; I will test your PR on our staging server. |
I tried the code from your PR on our staging server. Thank you |
Thanks for confirming. I'll merge it. |
Hi,
Here at Université de Rennes 1 we have an extensive of list families.
I noticed a significant change in changelog of version 6.2.33.b1 : "Owners and moderators are no longer stored in list config file: They are stored only in database". Therefore I performed some tests to evaluate the impact of such change for us. I noticed that list families updates now fail to propagate owners/editors changes in the database. That's probably what David Verdin meant with "
" in #49 .
Here are some details about the issue :
The mafamille family has the following configuration :
I add a list to that family :
maliste.xml looks like :
The list looks fine from WWSympa :
Now I reinstantiate that famly with updated maliste.xml file to add a list owner :
I run sympa.pl to update that list :
The list config has been update:
But the web interface does not take these changes into account; the list homepage still shows first.owner@univ-rennes1.fr only.
I did not check the database, but I guess second.owner@univ-rennes1.fr has not been loaded there...
That's a big problem for us. I understand why this change was introduced, but it has at least this side effect, not talking about other organizations that have home grown tools, similar to list families, to automate list creation. The change you introduced will break such mecanisms.
Is there a consensus about this change among the sympa dev/users community?
The text was updated successfully, but these errors were encountered: