indico / indico/indico

Form validation problem when entering co-authors

Open
#3,288 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.1k
Forks
551
Avg merge
2d 9h
Merged PRs (30d)
21

Description

We received a request from an author who could not add an author for an abstract because clicking on the save button would not work.

After failing to find a simple explanation for it, we went via TeamViewer on the author's machine. There we recognized that the author was copying the content for the Affiliation field (see the form here: [link to an img](https://user-images.githubusercontent.com/179599/38299914-b55202d8-37fb-11e8-864b-bf73c6b9f663.png)) from a Word-document. Once the formatted text from word was copied into the field, the form would not validate without any specific error handling.

As it seems to be some coding issue we asked to provide us with this exact Word-document so we can reproduce the issue. However, after we recieved the document, we are unable to reproduce. Probably the formatting changed after saving and opening this Word-document on our machines.

In any case, there seems to be a case when a form fails to validate a copied content of a form field without any specific error handling for this case.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked form image and trying to reproduce the failure by pasting Word-formatted content into the Affiliation field. Trace the form validation behavior around saving an abstract author; done means invalid pasted content produces specific feedback instead of silently preventing submission.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.