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

Duplicated lines in user notes are removed automatically #1763

Open
Gary92 opened this issue Feb 26, 2023 · 0 comments
Open

Duplicated lines in user notes are removed automatically #1763

Gary92 opened this issue Feb 26, 2023 · 0 comments

Comments

@Gary92
Copy link

Gary92 commented Feb 26, 2023

Description
If a user note includes multiple identical lines, only the first line is saved while the other lines are automatically removed.

Steps to Reproduce

  1. Open the user note of a random user.

  2. Edit the user note and add a few identical lines, here's an example (between quotes):
    line A
    line B
    line A
    line B
    line C

  3. Save the user note

  4. Open the same user note

  5. Observe that the duplicated lines are not present, here's the result from the previous example (between quotes):
    line A
    line B
    line C

Expected Behavior
The duplicated lines should stay there, rather than being removed. Even line breaks are removed in case more than one is used.

Console Errors
No console errors occur.

Screenshots
No screenshots uploaded, but the bug is easy to reproduce.

System:

  • ESGST Version: extension v8.9.4
  • Browser + Version: Microsoft Edge version 110.0.1587.56 (official build) (64 bit)

Additional Context
It seems that any duplicated line is trimmed by the save function itself before actually saving the content of the user note. I'm not an expert though, so I prefer to wait for a proper fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant