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

Sample Web Pages with same name lead to corrupt JSON #164

Open
iwm-donath opened this issue Jul 2, 2024 · 0 comments
Open

Sample Web Pages with same name lead to corrupt JSON #164

iwm-donath opened this issue Jul 2, 2024 · 0 comments

Comments

@iwm-donath
Copy link

Describe the bug
If I add two or more sample web pages with the same name, save the report as JSON and open it again, only the notes for the first entry will be loaded in the Audit Sample step. The second entry will be empty. If I enter text into the now empty entry, three entries will appear in the Report.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '3. Select Sample'
  2. Click two times on 'Add web page' in Structured Sample Web Pages
  3. Use 'test' for both Short names
  4. Go to '4. Audit Sample'
  5. Activate 'Add results for pages' and add text Observations for both (e.g. 'test 1' and 'test 2')
  6. Save Report as JSON
  7. Open Report from JSON
  8. Go to '4. Audit Sample'
  9. Observations for second entry are gone, enter another observation (e.g. 'test 3')
  10. Go to 'View Report'
  11. Three entries for observations will be visible instead of two (e.g. 'test 1', 'test 2' and 'test 3')

Expected behavior
All entries will be saved and loaded correctly.

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