Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-1855

Registration App relationships edit section does not allow editions and deletions

    XMLWordPrintable

    Details

    • Complexity:
      Undetermined
    • Sprint:
      Ref App 2.11 Release Sprint 3, Ref App 2.12 Priorities

      Description

      Registration App relationships edit section seems to only work as expected when adding new relationships.

      Delete isn't working: When editing, the user is allowed to delete an existing relationship. The changes are visible in the frontend and seem ok but, after saving the form and reloading the edit section, we see that nothing has happened on the server. Previously deleted entry still remains on the list.

      Update isn't working: If the user changes an existing entry on the relationships edit section. Again, everything seems fine on the frontend but, after saving the form and reloading, previously modified entry remains with old values and, a new entry was created with the new values. We end up with a new created entry instead an updated old one.

      It seems that the server is iterating the submitted list by the frontend and, if an exact matching entity already exists on the database, nothing is done, otherwise a new entity is created.

       

        Gliffy Diagrams

          Attachments

          1. Updated.PNG
            Updated.PNG
            51 kB
          2. Delete.PNG
            Delete.PNG
            50 kB
          3. Confirm.PNG
            Confirm.PNG
            28 kB
          4. 1223.PNG
            1223.PNG
            54 kB

            Issue Links

              Activity

                People

                Assignee:
                cioan Cosmin Ioan
                Reporter:
                icrc.psousa Pedro Sousa
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: