Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-23831

Deleting of Application Link fails, because SAL does not allow anymore keys longer than 100 characters.

    XMLWordPrintable

Details

    Description

      SAL restricts the size of keys which can be used to store data in PluginSettings to a 100 characters. This causes the UAL plugin to fail.
      This is too strict and might also cause problems with other plugins.

      The problem with UAL appeared after the jira-fisheye-plugin has upgraded existing fisheye repository configurations to UAL. We end up with keys which are exceeding 100 characters to store this data. I'm still investigating this issue. The UAL plugin has to be fixed to generate shorter keys.

      How to test this:

      1. Create an Application Link to FeCru instance, the URL can point to an invalid host, so UAL cannot detect which FeCru repositories are actually available
      2. Create a link from a JIRA Project to a FeCru repository using the application link you created in the first step
      3. Use a key which exceeds 19 characters
      4. Delete the Application Link you created

      The delete should succeed w/o any error.
      When deleting the application link UAL also deletes the entity link for this application link.
      When deleting the application link UAL uses a property key to check "custom properties" for this entity link, this key will get longer than 100 characters if the key of the entity exceeds 19 characters.

      Attachments

        Activity

          People

            pleschev Peter Leschev
            fschmitz Felix Schmitz [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: