Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2476

Fix newline character breaking metadata comments

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Situation: Users can add metadata to files and folders in BioViz Connect. The Comments section of the metadata allows for text to be entered.

      Problem: When a user enters a newline character in the Comments section of the metadata and clicks save the "saved" toast is appearing. However, after closing and re-opening the metadata panel the text has not been saved. This appears to completely break the Comments section as any new text added to the Comments section cannot be saved.

      To reproduce:
      Open BioViz Connect: bioviz.org/connect.html
      Login and select a file.
      Right-click and select metadata.
      In the metadata right-panel enter the following including the blank line:

      This is my

      example.

      Click Save.
      Close the right panel.
      Re-open the metadata right-panel.
      There should be no text in the Comments section and attempting to add additional text and save should fail.

      Task: Implement a fix so that new line characters no longer break the Comments metadata section.

      Note: Please test special characters, tabs, and any other whitespace characters you can think of.

        Attachments

          Activity

          nfreese Nowlan Freese created issue -
          nfreese Nowlan Freese made changes -
          Field Original Value New Value
          Epic Link IGBF-2376 [ 18533 ]
          nfreese Nowlan Freese made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          nfreese Nowlan Freese made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          nfreese Nowlan Freese made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          nfreese Nowlan Freese made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          nfreese Nowlan Freese made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          nfreese Nowlan Freese made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          nfreese Nowlan Freese made changes -
          Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
          nfreese Nowlan Freese made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          nfreese Nowlan Freese made changes -
          Assignee Nowlan Freese [ nfreese ]
          nfreese Nowlan Freese made changes -
          Assignee Nowlan Freese [ nfreese ] Chaitanya Kintali [ chaitanya ]
          nfreese Nowlan Freese made changes -
          Resolution Done [ 10000 ]
          Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]

            People

            • Assignee:
              chaitanya Chaitanya Kintali (Inactive)
              Reporter:
              nfreese Nowlan Freese
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: