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

List inclusion in data_source displaying random string #1695

Open
laerm opened this issue Jul 4, 2023 · 4 comments
Open

List inclusion in data_source displaying random string #1695

laerm opened this issue Jul 4, 2023 · 4 comments
Labels

Comments

@laerm
Copy link

laerm commented Jul 4, 2023

While looking into a list inclusion issue for a user, I noticed the members of a list added via an inclusion show a random string in the sources column, for example "05c07645".

Version

v6.2.72 on RHELv7.9

Installation method

Via EPEL repo

Expected behavior

I can't remember if previous version showed the included list name, or something else under the sources column of the member page.

Actual behavior

Some sort of hash, for example "05c07645" is displaying under the sources column of the member page.

Steps to reproduce

Go to members page of a list which includes another list:

image

Thank you @ikedas as usual for your work and help, it is very much appreciated.

@ldidry
Copy link
Contributor

ldidry commented Jul 5, 2023

Did you add a name to your inclusion source? I didn’t try on 6.2.72, but in 6.2.68, I have the name of the inclusion source instead of this hash-thing. I guess that the hash-thing might be a random name chosen if you didn’t specify a name.

@laerm
Copy link
Author

laerm commented Jul 5, 2023

Bonjour @ldidry !

No, the name was empty. I just added a name, forced a sync... and the name appears! Thank you! I honestly can't remember how previous Sympa versions behaved, I only noticed this now when diving into another issue raised by a user of ours.

Maybe you should force the user to add a name when adding a source, to avoid this display issue? Obviously not a life changing bug :)

@ikedas
Copy link
Member

ikedas commented Jul 5, 2023

Hi @laerm ,

In the past, even if a name was set, it was not always displayed. Sympa around 6.2.46 has been improved to always display the names of data sources. So, even those without a name are now required to have a name to be deiplayed.

It would be a problem if the list would no longer work without a data source name, otoh displaying such as "no name" would not distinguish the data sources. That's why the random names by data sources are displayed.

If you have suggestions on how to make life better, please suggest them.

@laerm
Copy link
Author

laerm commented Jul 6, 2023

Hi @ikedas ,

If a name is specified, display the name ("This is list B"), otherwise simply display the actual name of the included list ("listb").

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

3 participants