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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026239
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2014-04-10 13:252014-05-26 12:46
ReporterjecharriView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version3.0PR14Q3
StatusclosedFix in branchFixed in SCM revision8d4702c5719b
ProjectionnoneETAnoneTarget Version3.0PR14Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026239: Problems when you login in Web POS and ERP at the same time

DescriptionProblems when you login in Web POS and ERP at the same time
Steps To ReproduceUse live environment
-Define a role and user to access to ERP but only with access to org "Vall blanca store"
-Define another role and user to access to Web POS but only with access to all org
-Login with first user in the ERP and go to window "sales order"
-Verify that you can only see "Vall blanca store" records
-Go to web POS and login with second user
-Go to ERP and press in openbravo tollbar refresh grid button

You will see that you are able to see sales order from all organizations
Proposed SolutionAfter login in the Web POS, we should detect that context has changed and force ERP user to login again.

That is the behaviour that currently Web POS has wehn you have a session in Web POS and someone logged in the ERP using another role.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0067170)
hgbot (developer)
2014-05-15 19:01

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8d4702c5719b1c83efd4fc458acb338b85baaaa8
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu May 15 19:01:32 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8d4702c5719b1c83efd4fc458acb338b85baaaa8 [^]

Fixed issue 26239. The mobile.core loginhandler will reject a login attempt if there is already a session for the specified cookie.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
---
(0067197)
hgbot (developer)
2014-05-16 09:32

Repository: erp/pmods/org.openbravo.mobile.core.unstablenetworks
Changeset: 8d4702c5719b1c83efd4fc458acb338b85baaaa8
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu May 15 19:01:32 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.unstablenetworks/rev/8d4702c5719b1c83efd4fc458acb338b85baaaa8 [^]

Fixed issue 26239. The mobile.core loginhandler will reject a login attempt if there is already a session for the specified cookie.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
---
(0067205)
hgbot (developer)
2014-05-16 10:05

Repository: erp/devel/pi
Changeset: 395765d96a1bdfd8458218dd3cfa12ae89d4bd6a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri May 16 10:05:06 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/395765d96a1bdfd8458218dd3cfa12ae89d4bd6a [^]

Related to issue 26239. Added an index to improve performance.

---
M src-db/database/model/tables/AD_SESSION.xml
---
(0067206)
hgbot (developer)
2014-05-16 10:06

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a1646266324e14bb08c33b3f91c8cdc0b75ac54c
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri May 16 10:06:11 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a1646266324e14bb08c33b3f91c8cdc0b75ac54c [^]

Related to issue 26239. Added an additional check to ensure that NPEs cannot happen.

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
---
(0067209)
hgbot (developer)
2014-05-16 10:44

Repository: erp/devel/pi
Changeset: dbc986ded642b38f57abd8ec0ecdb4fcf435bff3
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri May 16 10:44:04 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dbc986ded642b38f57abd8ec0ecdb4fcf435bff3 [^]

Related to issue 26239. Move index to mobile.core.

---
M src-db/database/model/tables/AD_SESSION.xml
---
(0067210)
hgbot (developer)
2014-05-16 10:44

Repository: erp/pmods/org.openbravo.mobile.core.unstablenetworks
Changeset: a1646266324e14bb08c33b3f91c8cdc0b75ac54c
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri May 16 10:06:11 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.unstablenetworks/rev/a1646266324e14bb08c33b3f91c8cdc0b75ac54c [^]

Related to issue 26239. Added an additional check to ensure that NPEs cannot happen.

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
---
(0067211)
hgbot (developer)
2014-05-16 10:44

Repository: erp/pmods/org.openbravo.mobile.core.unstablenetworks
Changeset: 5c687d12708737e39d78efe102aba6d7098c696e
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri May 16 10:44:33 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.unstablenetworks/rev/5c687d12708737e39d78efe102aba6d7098c696e [^]

Related to issue 26239. Move index to mobile.core.

---
A src-db/database/model/modifiedTables/AD_SESSION.xml
---
(0067212)
hgbot (developer)
2014-05-16 10:45

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5c687d12708737e39d78efe102aba6d7098c696e
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri May 16 10:44:33 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5c687d12708737e39d78efe102aba6d7098c696e [^]

Related to issue 26239. Move index to mobile.core.

---
A src-db/database/model/modifiedTables/AD_SESSION.xml
---
(0067232)
hudsonbot (developer)
2014-05-16 17:46

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c01179ac6783 [^]
Maturity status: Test
(0067270)
hudsonbot (developer)
2014-05-19 17:38

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6303d9b2384d [^]
Maturity status: Test
(0067276)
hgbot (developer)
2014-05-19 18:59

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d9f4b6f68353860c5d80a523b98ecfb0180fd95b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 19 18:59:03 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d9f4b6f68353860c5d80a523b98ecfb0180fd95b [^]

Related to issue 26239. Improved check of existance of the session. Removed the index as no longer necessary.

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
R src-db/database/model/modifiedTables/AD_SESSION.xml
---
(0067289)
hgbot (developer)
2014-05-20 08:50

Repository: erp/pmods/org.openbravo.mobile.core.unstablenetworks
Changeset: d9f4b6f68353860c5d80a523b98ecfb0180fd95b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 19 18:59:03 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.unstablenetworks/rev/d9f4b6f68353860c5d80a523b98ecfb0180fd95b [^]

Related to issue 26239. Improved check of existance of the session. Removed the index as no longer necessary.

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
R src-db/database/model/modifiedTables/AD_SESSION.xml
---
(0067321)
hgbot (developer)
2014-05-20 17:17

Repository: erp/pmods/org.openbravo.mobile.core.unstablenetworks
Changeset: 4fb7a2e606098e6313d7c4e4fe2a328ef9894f60
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue May 20 17:16:49 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.unstablenetworks/rev/4fb7a2e606098e6313d7c4e4fe2a328ef9894f60 [^]

Related to issue 26239. Ensure that inactive sessions are not taken into account.

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
---
(0067322)
hgbot (developer)
2014-05-20 17:17

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 4fb7a2e606098e6313d7c4e4fe2a328ef9894f60
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue May 20 17:16:49 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4fb7a2e606098e6313d7c4e4fe2a328ef9894f60 [^]

Related to issue 26239. Ensure that inactive sessions are not taken into account.

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
---
(0067442)
alostale (manager)
2014-05-26 12:46

code reviewed + tested

- Issue History
Date Modified Username Field Change
2014-04-10 13:25 jecharri New Issue
2014-04-10 13:25 jecharri Assigned To => AugustoMauch
2014-04-10 13:25 jecharri Web browser => Google Chrome
2014-04-10 13:25 jecharri Modules => Core
2014-04-10 13:25 jecharri Resolution time => 1400104800
2014-04-10 13:25 jecharri Triggers an Emergency Pack => No
2014-04-10 13:27 jecharri Web browser Google Chrome => Google Chrome
2014-04-10 13:27 jecharri Proposed Solution updated
2014-04-10 16:41 jecharri Web browser Google Chrome => Google Chrome
2014-04-10 16:41 jecharri Steps to Reproduce Updated View Revisions
2014-05-13 11:20 alostale Assigned To AugustoMauch => marvintm
2014-05-14 10:53 jecharri Web browser Google Chrome => Google Chrome
2014-05-15 18:58 marvintm Review Assigned To => alostale
2014-05-15 18:58 marvintm Web browser Google Chrome => Google Chrome
2014-05-15 19:01 hgbot Checkin
2014-05-15 19:01 hgbot Note Added: 0067170
2014-05-15 19:01 hgbot Status new => resolved
2014-05-15 19:01 hgbot Resolution open => fixed
2014-05-15 19:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8d4702c5719b1c83efd4fc458acb338b85baaaa8 [^]
2014-05-16 09:32 hgbot Checkin
2014-05-16 09:32 hgbot Note Added: 0067197
2014-05-16 09:32 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8d4702c5719b1c83efd4fc458acb338b85baaaa8 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.unstablenetworks/rev/8d4702c5719b1c83efd4fc458acb338b85baaaa8 [^]
2014-05-16 10:05 hgbot Checkin
2014-05-16 10:05 hgbot Note Added: 0067205
2014-05-16 10:06 hgbot Checkin
2014-05-16 10:06 hgbot Note Added: 0067206
2014-05-16 10:44 hgbot Checkin
2014-05-16 10:44 hgbot Note Added: 0067209
2014-05-16 10:44 hgbot Checkin
2014-05-16 10:44 hgbot Note Added: 0067210
2014-05-16 10:44 hgbot Checkin
2014-05-16 10:44 hgbot Note Added: 0067211
2014-05-16 10:45 hgbot Checkin
2014-05-16 10:45 hgbot Note Added: 0067212
2014-05-16 17:46 hudsonbot Checkin
2014-05-16 17:46 hudsonbot Note Added: 0067232
2014-05-19 17:38 hudsonbot Checkin
2014-05-19 17:38 hudsonbot Note Added: 0067270
2014-05-19 18:59 hgbot Checkin
2014-05-19 18:59 hgbot Note Added: 0067276
2014-05-20 08:50 hgbot Checkin
2014-05-20 08:50 hgbot Note Added: 0067289
2014-05-20 17:17 hgbot Checkin
2014-05-20 17:17 hgbot Note Added: 0067321
2014-05-20 17:17 hgbot Checkin
2014-05-20 17:17 hgbot Note Added: 0067322
2014-05-26 12:46 alostale Note Added: 0067442
2014-05-26 12:46 alostale Status resolved => closed
2014-05-26 12:46 alostale Fixed in Version => PR14Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker