Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027952Retail ModulesRetail Configurationpublic2014-10-22 18:042014-10-23 17:23
lorenzofidalgo 
migueldejuana 
normalminoralways
newopen 
5
RR14Q3 
 
No
No
0027952: Trying to change role in POS, but clicking apply does NOT make any change and some features crash
Reproduced in RR14Q3 & RR14Q2.
Choosing a role makes the application stops from working properly.
I have seen that this happends with "FranchiseValleyUser". This can maybe happend with other roles.

A video that shows this is the next one:
https://drive.google.com/a/openbravo.com/file/d/0B6HEkyuFoid8cVN3bHA0N0dBMVE/view?usp=sharing [^]

I have already bounded the issue and I have seen that this issue always happends if you follow "Setps To Reproduce".
In POS backend:
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: VBS POS Terminal
Click Ctrl + S to save the details
Close user window.


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: Vall Blanca Store
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 "FranchiseValleyUser" role and set it as active.
Create new record and add "the white valley group admin" role and set it as active.

(Now you should have 3 roles: "manual user role", "the white valley group admin" and "FranchiseValleyUser").
--
[VBS-1 POS Terminal]

Now go to POS and log in as manualuser/openbravo.
Go to the menu and go to User | Profile, and select "FranchiseValleyUser" role and Apply. It will not work properly. Since there some features related with role changes will get stuck there.
No tags attached.
png FranchiseCrash.png (166,511) 2014-10-23 09:00
https://issues.openbravo.com/file_download.php?file_id=7418&type=bug
png
Issue History
2014-10-22 18:04lorenzofidalgoNew Issue
2014-10-22 18:04lorenzofidalgoAssigned To => marvintm
2014-10-22 18:04lorenzofidalgoFile Added: Franchise BOOM.png
2014-10-22 18:04lorenzofidalgoOBNetwork customer => No
2014-10-22 18:04lorenzofidalgoTriggers an Emergency Pack => No
2014-10-23 08:59lorenzofidalgoFile Deleted: Franchise BOOM.png
2014-10-23 09:00lorenzofidalgoFile Added: FranchiseCrash.png
2014-10-23 11:18lorenzofidalgoNote Added: 0071123
2014-10-23 17:23migueldejuanaAssigned Tomarvintm => migueldejuana

Notes
(0071123)
lorenzofidalgo   
2014-10-23 11:18   
When I click Apply before it crashes the next message appears in Console:

"Ajax request set to handleAs JSON but data was not in JSON format"