Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027893
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail Configurationmajoralways2014-10-16 17:372014-10-17 13:51
ReporterlorenzofidalgoView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in VersionRR14Q3
StatusclosedFix in branchFixed in SCM revision55931ce032bf
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToOrekaria
Regression levelProduction - QA Approved
Regression date
Regression introduced in releaseRR14Q3
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027893: In POS, Menu | User | Profile, selecting a different role and Apply does NOT work. In Q2 this works.

DescriptionTo change your user role in Menu | User | Profile, change role, apply does NOT work. A popup appears and the application kicks you out.

If you insist trying to login, the application can crash and shows you several different errors.
I add some screenshots for showing this.
Steps To ReproduceIf you need a user with different roles to try this:

In POS backend: [RR14Q4]
Login into ERP System:

"Username": Openbravo
"Password": openbravo
Change the role as “The White Valley Group Admin”

Navigate to User window (General Setup || Security || User)

Create a new record (Ctrl + D)

To create a new user, enter the below user details

Client: The White Valley Group
Organization: *
Name: manualuser
Username: manualuser
Password: openbravo
Click Ctrl + s to save the details

Then navigate to POS Terminal Access tab

Click Ctrl + D to add a new record

Then enter POS Terminal: CMS POS Terminal (This will depend on your terminal)
Click Ctrl + S to save the details


Navigate to Role window (General Setup || Security || Role)

Create a new record by clicking the hot keys Ctrl + D

To create a new user role, enter the below user details

Client: The White Valley Group
Organization: *
Name: Manual User Role
User level: Organization
Manual: Checked
Restricted Backend access: Checked
Click Ctrl + s to save the details

Then navigate to Org Access tab

Click Create one link to add new record

Organization: Central Mountains Store (This again depends on your terminal) (I will assume that you are using CMS-1 POS terminal)
Organization Administrator: No
Then navigate to User Assignment tab

Click Create one link to add new record

Then select below details

User/Contact: manualuser
Role Administrator: Unchecked
Then navigate to Form Access

Click Create one link to add new record

Then select below details

Special Form: Web POS
Click Ctrl + s to save the details


Go again to User window, select manualuser record and go to "User Roles" tab.
Create new record and add "the white valley group admin" role and set it as active.
Create new record and add "FranchiseValleyUser" role and set it as active.
(Now you should have 3 roles: "manual user role", "the white valley group admin" and "FranchiseValleyUser").

--

Now you go to POS and login as manualuser/openbravo.

Assuming that your default role is "Manual User Role", select in POS Menu | "User" | "Profile" and you select a role different than the one already chosen. For example, "The White Valley Group Admin", "Set as default" and apply it.

The popup will appear and will kick you out.
--
Now, follow the same process again several times and this will can crash eventually:

LogIn as manualuser/openbravo, go to POS Menu | "User" | "Profile" and you select a role different than the one already chosen. For example, "The White Valley Group Admin", "Set as default" and apply it. It will kick you out again, and repear this process until it crashes.
TagsNo tags attached.
Attached Filespng file icon Q3 Failure1. Context.png [^] (235,475 bytes) 2014-10-16 17:37


png file icon Failure2.png [^] (11,562 bytes) 2014-10-16 17:38


png file icon Failure3.png [^] (266,666 bytes) 2014-10-16 17:38
png file icon failure 4.png [^] (145,097 bytes) 2014-10-16 17:38


png file icon failure7.png [^] (159,363 bytes) 2014-10-16 17:42

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0027889 closeddmiguelez Openbravo ERP In POS, Menu | User | Role change does NOT work properly 

-  Notes
(0071032)
hgbot (developer)
2014-10-17 13:40

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 55931ce032bff8c3db95f1f7e21bd7a327edd6e2
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Oct 17 13:39:41 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/55931ce032bff8c3db95f1f7e21bd7a327edd6e2 [^]

Fixed issue 27889. Fixed issue 27893. If the context information (role, organization, ...) is changed, the user information cache will no longer be used.
This ensures that all needed information is reloaded correctly from the backend.

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-profile.js
---

- Issue History
Date Modified Username Field Change
2014-10-16 17:37 lorenzofidalgo New Issue
2014-10-16 17:37 lorenzofidalgo Assigned To => marvintm
2014-10-16 17:37 lorenzofidalgo File Added: Q3 Failure1. Context.png
2014-10-16 17:37 lorenzofidalgo Regression level => Production - QA Approved
2014-10-16 17:37 lorenzofidalgo Regression introduced in release => RR14Q3
2014-10-16 17:37 lorenzofidalgo Triggers an Emergency Pack => No
2014-10-16 17:38 lorenzofidalgo File Added: Failure2.png
2014-10-16 17:38 lorenzofidalgo File Added: Failure3.png
2014-10-16 17:38 lorenzofidalgo File Added: failure 4.png
2014-10-16 17:42 lorenzofidalgo File Added: failure7.png
2014-10-16 17:45 lorenzofidalgo Steps to Reproduce Updated View Revisions
2014-10-16 17:47 lorenzofidalgo Relationship added related to 0027889
2014-10-17 13:40 hgbot Checkin
2014-10-17 13:40 hgbot Note Added: 0071032
2014-10-17 13:40 hgbot Status new => resolved
2014-10-17 13:40 hgbot Resolution open => fixed
2014-10-17 13:40 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/55931ce032bff8c3db95f1f7e21bd7a327edd6e2 [^]
2014-10-17 13:51 Orekaria Review Assigned To => Orekaria
2014-10-17 13:51 Orekaria Status resolved => closed
2014-10-17 13:51 Orekaria Fixed in Version => RR14Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker