Uploaded image for project: 'aaa'
  1. aaa
  2. AAA-45

Restarting the controller causes multiple insertions of admin and user users

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 3923

    Description

      Restarting the controller causes the StoreBuilder.init() method to be called more than once. IdmLight changes the name of the database file to "idmlight.db.mv.db". Hitherto, StoreBuilder.init() is called if the file "idmlight.db" does not exist. However, the change to the naming convention of the idmlight database file was not reflected in the criteria for calling StoreBuilder.init(). As it stands, new default "admin" and "user" users are created each time the controller is started.

      idmlight.db=> select * from users;
      userid | name | email | password | description | enabled
      ------------------------------------+--------
      1 | admin | | admin | admin user | 1
      2 | user | | user | user user | 1
      3 | admin | | admin | admin user | 1
      4 | user | | user | user user | 1
      5 | admin | | admin | admin user | 1
      6 | user | | user | user user | 1

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            rgoulding Ryan Goulding
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: