Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3923 Dataset policies
  3. RANGER-4648

Return proper error message if GDS entities name is longer than 512 characters and assertions in the UI form as well

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • admin

    Description

      The max length for the Datashare/Dataset/Project names is 512.
      Currently, there are no assertions to check if the name is longer than 512 characters or not.
      In such scenarios, when the request was made with a long name, the error message was not descriptive as the error message was coming from the database due to data insertion failing.
      Validations have to be performed at two levels:-
      1. UI level
      Display an error message if the name is longer than 512 characters and prevent the form submission
      2. Server Side
      Check if the name length is greater than 512 characters, if yes, return a proper error message

      Attachments

        Activity

          People

            abhishek.patil Abhishek
            abhishek.patil Abhishek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: