sympa icon indicating copy to clipboard operation
sympa copied to clipboard

List inclusion in data_source displaying random string

Open laerm opened this issue 1 year ago • 4 comments

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.

laerm avatar Jul 04 '23 10:07 laerm

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.

ldidry avatar Jul 05 '23 06:07 ldidry

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 :)

laerm avatar Jul 05 '23 06:07 laerm

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.

ikedas avatar Jul 05 '23 07:07 ikedas

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").

laerm avatar Jul 06 '23 12:07 laerm