3 Replies Latest reply on Mar 30, 2015 7:53 AM by swiderski.maciej

    Bug: user becomes corrupted and can not use the workbench in 6.2.0.Final

    danutc

      Hi

       

      For example we found the situations when a user looses access to Project Authoring perspective. However the other users are not affected. We could not find any way to make the bad user work again.

       

      We can not tell what exactly triggers this behavior so the problem is hard to reproduce. However it happened to us a number of times.

       

      Is there a way to clean user's profile? I have the feeling that this is an uberfire issue. Is there an workaround for this problem?

       

      Please find attached screenshots with a working user and a not working user.

       

      Regards

      Dan

        • 1. Re: Bug: user becomes corrupted and can not use the workbench in 6.2.0.Final
          swiderski.maciej

          you can clone system.git repository from workbench with all branches. Then delete broken user branch and push these changes back to workbench. That should resolve the issue with UI. system.git stores some user preferences and might be the cause of the issue. I believe there is UI way of resetting perspective but need to look into it to be sure it was included in 6.2.0.Final.

           

          Please drop jira if you manage to find a way to reproduce it

           

          HTH

          • 2. Re: Bug: user becomes corrupted and can not use the workbench in 6.2.0.Final
            danutc

            Thanks Maciej

             

            It worked. Please let us know if there is a way to fix the user from the workbench UI. If able to reproduce the problem we will raise a ticket.

             

            Here are the git commands for convenience:

             

            // clone system

            git clone ssh://krisv@localhost:8001/system

            // list branches and pick the one to delete

            git branch -a

            // delete branch for  broken user

            git branch -d broken-uf-user

            // push back to workbench

            git push origin :broken-uf-user

             

            Thanks

            Dan

            • 3. Re: Bug: user becomes corrupted and can not use the workbench in 6.2.0.Final
              swiderski.maciej

              Dan,

               

              you might want to check if item marked in attached screenshot will resolve the issue when it happens again. If that won't be a problem when you manage to reproduce to zip the system.git repo (event the cloned one) and attach to jira so we could check it out what could be the issue.

               

              HTHreset-perspectives.png