Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035549 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] StoreServer | minor | have not tried | 2017-03-17 08:46 | 2017-03-20 10:41 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 98a5ddef7677 | ||||
Projection | none | ETA | none | Target Version | RR17Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | AugustoMauch | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035549: Cross domain checking should not use mobile servers if the multi-server preference is of | |||||||
Description | The cross domain checking logic uses mobile server definitions [1]. It should however not use them if the multi-server preference [2] is not set. [1] http://wiki.openbravo.com/wiki/How_to_Setup_MultiServer_Dev_Environment#Understanding_CORS [^] [2] http://wiki.openbravo.com/wiki/Store_and_Multi_Server_Preferences [^] | |||||||
Steps To Reproduce | Create some mobile server definitions with urls Set the multi-server preference to N Set a breakpoint in the code here [1] See that the code reads the mobile server definitions and uses them [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/01f7665c6772/src/org/openbravo/mobile/core/authenticate/MobileAllowedCrossDomainsChecker.java#l82 [^] | |||||||
Proposed Solution | Do not read any mobile server definition records if multi-server preference is N | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||
|
![]() |
|
(0095397) hgbot (developer) 2017-03-19 10:41 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 98a5ddef767777bd4faebb244e9bb2b5b27299e6 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Sun Mar 19 10:30:02 2017 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/98a5ddef767777bd4faebb244e9bb2b5b27299e6 [^] Fixes issue 35549: Cross domain checking should not use mobile servers if the multi-server preference is off Keep the internal list empty if the multi-server pref is off --- M src/org/openbravo/mobile/core/authenticate/MobileAllowedCrossDomainsChecker.java --- |
(0095415) AugustoMauch (administrator) 2017-03-20 10:41 |
Code reviewed and verified |
![]() |
|||
Date Modified | Username | Field | Change |
2017-03-17 08:46 | mtaal | New Issue | |
2017-03-17 08:46 | mtaal | Assigned To | => mtaal |
2017-03-17 08:46 | mtaal | OBNetwork customer | => No |
2017-03-17 08:46 | mtaal | Triggers an Emergency Pack | => No |
2017-03-17 08:46 | mtaal | Relationship added | related to 0035548 |
2017-03-17 10:10 | shuehner | OBNetwork customer | No => Yes |
2017-03-17 10:10 | shuehner | Resolution time | => 1491516000 |
2017-03-17 10:14 | shuehner | Issue Monitored: shuehner | |
2017-03-19 10:29 | mtaal | Review Assigned To | => AugustoMauch |
2017-03-19 10:41 | hgbot | Checkin | |
2017-03-19 10:41 | hgbot | Note Added: 0095397 | |
2017-03-19 10:41 | hgbot | Status | new => resolved |
2017-03-19 10:41 | hgbot | Resolution | open => fixed |
2017-03-19 10:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/98a5ddef767777bd4faebb244e9bb2b5b27299e6 [^] |
2017-03-20 10:41 | AugustoMauch | Note Added: 0095415 | |
2017-03-20 10:41 | AugustoMauch | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |