Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-58889

The first login remove the data in remembermetoken table after the upgrade

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.6.12, 6.15.7
    • Server - Jobs
    • None

    Description

      Issue Summary

      Regardless of what TTL has been set in seraph-config.xml for remember me token. The data in the Confluence remembermetoken table will be removed after the upgrade when users try to log in at the very first time.

      Steps to Reproduce

      1. Install Confluence 6.6.12
      2. Create some users and set the remembermetoken created date (Big data) with the query below:
        update remembermetoken
        set created = '1560230578'
        where id = '360453'
        
      3. Upgrade the Confluence to 6.15.7
      4. Check the remembermetoken table, data was surviving the upgrade process
      5. Login test users, data removed from the remembermetoken table accordingly

      Test results:

      Upgrade from Confluence 6.6.12 (default TTL is 1 year) to 6.15.3 (default TTL is 14 days)

      Users Surviving the upgrade Token is not removed from the first login
      User 1
      User 2
      User 3
      admin

      Expected Results

      The token should not be removed from the database unless they are expired after the upgrade

      Actual Results

      The token in database been removed and users will have to login again

      Note

      It seems only the token that created on the day of the upgrade was not removed.

      Workaround

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            lwang3@atlassian.com Lei Wang
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: