Skip to content
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

sympa.pl --change_user_email no longer working with 6.2.34 #389

Closed
agouaux opened this issue Aug 6, 2018 · 7 comments
Closed

sympa.pl --change_user_email no longer working with 6.2.34 #389

agouaux opened this issue Aug 6, 2018 · 7 comments
Labels
Milestone

Comments

@agouaux
Copy link

agouaux commented Aug 6, 2018

6.2.34

Source

sympa.pl --change_user_email [email protected] [email protected]

should change all occurrences in Sympa of [email protected] to [email protected].

When I use the command above, and [email protected] is either an owner or editor, their address as either owner or editor is not updated. The command returns successfully, but continually checking the owner/editor fields, and only the old address shows up. I did a:

sympa.pl --dump_users --list=LIST --role='owner,editor,member'

and still the [email protected] address was listed for the owner.

@agouaux
Copy link
Author

agouaux commented Aug 7, 2018

I've confirmed that doing --dump_users and editing the dump file for the new email address, then doing a --restore_users works. So, that'll be my workaround for now for owners/editors.

@ikedas
Copy link
Member

ikedas commented Aug 8, 2018

Hi @agouaux,

  • Could you please show us Sympa logs during execution of --change_user_email?
  • Weren't the owner and editor addresses included from data sources?
  • Were subscriber addresses succsessfully changed?

@ikedas
Copy link
Member

ikedas commented Aug 15, 2018

Hi @agouaux,
If possible, could you please apply this patch by PR above and check if the problem will solved?

@agouaux
Copy link
Author

agouaux commented Aug 17, 2018 via email

@agouaux
Copy link
Author

agouaux commented Aug 17, 2018

So, for the first set of questions, the log only showed that the command executed.

The owner was indeed manually subscribed and not from a data source.

Subscribers successfully changed. In fact I used the same address for an owner and subscriber, did the command, it returned success, but only subscriber changed.

I'll now apply patch and try everything again.

@agouaux
Copy link
Author

agouaux commented Aug 17, 2018

Just now tested with patch applied, and owner updated! Thanks!

ikedas added a commit that referenced this issue Aug 18, 2018
sympa.pl --change_user_email no longer working with 6.2.34 #389
@ikedas
Copy link
Member

ikedas commented Aug 18, 2018

@agouaux, Thanks for confirming. This fix will be included in the next release of Sympa.

@ikedas ikedas closed this as completed Aug 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants