Personal token creation form cannot submit with default values from *-Datlassian.pats.max.tokens.expiry.days*

XMLWordPrintable

    • Severity 2 - Major

      Issue Summary

      After applying the -Datlassian.pats.max.tokens.expiry.days system property via Java Options to control the Maximum number of days for a token to expire, the Create button cannot be clicked in Confluence when attempting to generate a token with the default, provided value. You must set it to 1 day less than the max setting.

      Steps to Reproduce

      1. Follow Configuring System Properties to implement a 10 day maximum:
        CATALINA_OPTS="-Datlassian.pats.max.tokens.expiry.days=10 ${CATALINA_OPTS}"
        
      1. Restart Confluence
      2. Attempt to create a new personal token where it shows the new max value:
      3. Click the Create button

      Expected Results

      1. You can click Create to generate a personal token

      Actual Results

      1. You are no longer able to click Create
      2. The HAR file doesn't show any activity
      3. The logs don't show any activity
      4. Tested in Chrome and Firefox

      Workaround

      You must change the input field value. Delete the default value of 10, enter 10 again, and click the Create button to proceed.

            Assignee:
            Unassigned
            Reporter:
            Robert Louie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: