Uploaded image for project: 'Kopano WebApp'
  1. Kopano WebApp
  2. KW-1558

Settings can not be opened while having a shared store opened of a non-existing user

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.4.0b1
    • Security Level: Public
    • Labels:
    • Environment:
      Tested using master
      But reported in 3.3.0 / 3.4.0
    • Story Points:
      2

      Description

      1. Login with user1
      2. Give user2 permissions on your store
      3. Save and logout
      4. Login with user2
      5. Open the shared store of user1
      6. Unhook the store of user1 or remove the user
      7. Logout and login with user2
      8. Open settings

      Result:
      Unable to open settings
      Error shown in console

      
      RulesPanel.js?version=devel:69 Uncaught TypeError: Cannot read property 'getSubtreeFolder' of undefined
          at constructor.createComboboxStore (RulesPanel.js?version=devel:69)
          at constructor.createPanelItems (RulesPanel.js?version=devel:91)
          at new constructor (RulesPanel.js?version=devel:34)
          at Object.create (ext-all-debug.js?version=devel:16219)
          at constructor.createComponent (ext-all-debug.js?version=devel:20764)
          at constructor.lookupComponent (ext-all-debug.js?version=devel:20752)
          at constructor.add (ext-all-debug.js?version=devel:20558)
          at constructor.<anonymous> (ext-all-debug.js?version=devel:20554)
          at Object.each (ext-base-debug.js?version=devel:895)
          at constructor.add (ext-all-debug.js?version=devel:20553)
      

      Log shows:

      'Failed to load store for user user1, user was not found. Removing it from settings.'
      

      Expected
      Settings should be opened. No errors should be shown
      Shared store should also be removed from settings.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              malberts Martijn Alberts
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: