Unable to add longer URLs in organisation URL field

XMLWordPrintable

    • 1
    • Severity 2 - Major

      Issue Summary

      Issue with longer URLs in organisation URL field

      Steps to Reproduce

      1. Open a existing organization or create a new one.
      2. Open Edit Details
      3. Create Field, Label: Test, Field Type: URL
      4. Go back to the organization and add any URL that is longer than 255 characters to the newly created field.

      5. Observe following response from the API /gateway/api/graphql/pq/3c60a5ad95c4ac19d16548a05095a7a2ff3206304e1ffeb79b97b845f15d8ec4?operation=useUpdateDetailValueForOrganizationMutation
      {
      "data": {
      "customerService": {
      "updateOrganizationAttributeValueByName": {
      "success": false,
      "attribute": null,
      "errors": [
      {
      "message": "Value provided for attribute type url was not valid."
      }
      ]
      }
      }
      },
      "extensions": {
      "gateway":

      { "request_id": "XXXX", "crossRegion": false, "edgeCrossRegion": false }

      }
      }

      Expected Results

      URL to be added successfully

      Actual Results

      The below exception is thrown by the API

      /gateway/api/graphql/pq/3c60a5ad95c4ac19d16548a05095a7a2ff3206304e1ffeb79b97b845f15d8ec4?operation=useUpdateDetailValueForOrganizationMutation
      {
      "data": {
      "customerService": {
      "updateOrganizationAttributeValueByName": {
      "success": false,
      "attribute": null,
      "errors": [
      {
      "message": "Value provided for attribute type url was not valid."
      }
      ]
      }
      }
      },
      "extensions": {
      "gateway": {
      "request_id": "XXXX",
      "crossRegion": false,
      "edgeCrossRegion": false
      }
      }
      } 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Anusha A
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: