Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0030204 | Openbravo ERP | A. Platform | public | 2015-06-18 14:13 | 2015-08-20 23:16 |
|
Reporter | alostale | |
Assigned To | caristu | |
Priority | urgent | Severity | major | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR15Q4 | Fixed in Version | 3.0PR15Q4 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0030204: prevent unpaged datsource request from manual sources |
Description | Starting from 3.0PR14Q3, unpaged requests to datasource are logged as warning if coming from manual sources and completely prevented if they come from a grid.
By default they should be prevented even if coming from manual sources, and only optionally allow them |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | Performance |
Relationships | related to | defect | 0026683 | 3.0PR14Q3 | closed | alostale | prevent unpaged datasource requests | related to | feature request | 0032039 | | closed | caristu | Add generic mechanism to have multiple cached preferences | related to | defect | 0034499 | | closed | caristu | [clustering] CachedPreference feature is not supported on clustered environments |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-06-18 14:13 | alostale | New Issue | |
2015-06-18 14:13 | alostale | Assigned To | => platform |
2015-06-18 14:13 | alostale | Modules | => Core |
2015-06-18 14:13 | alostale | Triggers an Emergency Pack | => No |
2015-06-18 14:13 | alostale | Relationship added | has duplicate 0026683 |
2015-06-18 14:13 | alostale | Status | new => acknowledged |
2015-07-22 09:42 | alostale | Assigned To | platform => caristu |
2015-07-22 09:42 | alostale | Tag Attached: Performance | |
2015-07-22 09:43 | alostale | Relationship replaced | related to 0026683 |
2015-07-23 12:26 | hgbot | Checkin | |
2015-07-23 12:26 | hgbot | Note Added: 0079041 | |
2015-07-31 14:07 | caristu | Review Assigned To | => alostale |
2015-07-31 14:07 | caristu | Issue Monitored: alostale | |
2015-07-31 14:07 | hgbot | Checkin | |
2015-07-31 14:07 | hgbot | Note Added: 0079148 | |
2015-07-31 14:07 | hgbot | Status | acknowledged => resolved |
2015-07-31 14:07 | hgbot | Resolution | open => fixed |
2015-07-31 14:07 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5bdafea397d73e01e0841273db10a717791d0bc0 [^] |
2015-07-31 14:35 | hgbot | Checkin | |
2015-07-31 14:35 | hgbot | Note Added: 0079150 | |
2015-07-31 16:05 | hgbot | Checkin | |
2015-07-31 16:05 | hgbot | Note Added: 0079151 | |
2015-07-31 18:12 | hgbot | Checkin | |
2015-07-31 18:12 | hgbot | Note Added: 0079153 | |
2015-08-04 09:28 | hgbot | Checkin | |
2015-08-04 09:28 | hgbot | Note Added: 0079168 | |
2015-08-04 11:13 | hgbot | Checkin | |
2015-08-04 11:13 | hgbot | Note Added: 0079169 | |
2015-08-04 12:33 | hgbot | Checkin | |
2015-08-04 12:33 | hgbot | Note Added: 0079180 | |
2015-08-04 15:37 | hgbot | Checkin | |
2015-08-04 15:37 | hgbot | Note Added: 0079188 | |
2015-08-06 09:54 | alostale | Relationship added | causes 0030505 |
2015-08-06 09:55 | alostale | Relationship deleted | causes 0030505 |
2015-08-07 08:45 | alostale | Note Added: 0079240 | |
2015-08-07 08:45 | alostale | Status | resolved => closed |
2015-08-07 08:45 | alostale | Fixed in Version | => 3.0PR15Q4 |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079505 | |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079513 | |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079514 | |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079515 | |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079516 | |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079517 | |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079518 | |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079520 | |
2015-08-20 23:16 | hudsonbot | Checkin | |
2015-08-20 23:16 | hudsonbot | Note Added: 0079524 | |
2016-01-28 12:54 | caristu | Relationship added | related to 0032039 |
2016-11-14 17:07 | caristu | Relationship added | related to 0034499 |
Notes |
|
(0079041)
|
hgbot
|
2015-07-23 12:26
|
|
Repository: erp/devel/pi
Changeset: c1e9aa2553bf20bc4ac092b3f711709e23c0ae3b
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Jul 23 12:25:24 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c1e9aa2553bf20bc4ac092b3f711709e23c0ae3b [^]
Related to issue 30204: applied correct format to DefaultJsonDataService
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
---
|
|
|
(0079148)
|
hgbot
|
2015-07-31 14:07
|
|
Repository: erp/devel/pi
Changeset: 5bdafea397d73e01e0841273db10a717791d0bc0
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Jul 31 14:04:15 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5bdafea397d73e01e0841273db10a717791d0bc0 [^]
fixes issue 30204: prevent unpaged datasource request from manual sources
Now the unpaged datasource requests are controlled by the OBJSON_AllowUnpagedDatasourceManualRequest preference. If it is set to N (default) is not possible to perform these kind of requests. They can be enabled by setting this preference to Y.
In order to have a better performance on the datasource when requesting for the preference value, the value of the preference is being cached by the UnpagedRequestCachedPreference class
---
M modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonConstants.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonRestServlet.java
M src-test/src/org/openbravo/test/AllWebserviceTests.java
M src/org/openbravo/erpCommon/businessUtility/Preferences.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/event/PreferenceEventHandler.java
A modules/org.openbravo.service.json/src-db/database/sourcedata/AD_PREFERENCE.xml
A modules/org.openbravo.service.json/src-db/database/sourcedata/AD_REF_LIST.xml
A modules/org.openbravo.service.json/src/org/openbravo/service/json/UnpagedRequestCachedPreference.java
A src-test/src/org/openbravo/test/datasource/TestAllowUnpagedDatasourcePreference.java
---
|
|
|
(0079150)
|
hgbot
|
2015-07-31 14:35
|
|
Repository: erp/devel/pi
Changeset: 22df813f4077182b8176caa40f8f4789fd530916
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Jul 31 14:34:39 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/22df813f4077182b8176caa40f8f4789fd530916 [^]
Related to issue 30204: added missing copyright information
---
M src-test/src/org/openbravo/test/datasource/TestAllowUnpagedDatasourcePreference.java
M src/org/openbravo/erpCommon/businessUtility/Preferences.java
---
|
|
|
(0079151)
|
hgbot
|
2015-07-31 16:05
|
|
|
|
(0079153)
|
hgbot
|
2015-07-31 18:12
|
|
Repository: erp/devel/pi
Changeset: 903256a107c370a52ca07f9da1c112a54f9e6060
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Jul 31 18:11:35 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/903256a107c370a52ca07f9da1c112a54f9e6060 [^]
Related to issue 30204: show the error messages properly when using oracle
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
---
|
|
|
(0079168)
|
hgbot
|
2015-08-04 09:28
|
|
Repository: erp/devel/pi
Changeset: 20073455885a52705c40247e064e2daf126cfe43
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Aug 04 09:28:00 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/20073455885a52705c40247e064e2daf126cfe43 [^]
Related to issue 30204: code review improvements
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/PreferenceEventHandler.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/UnpagedRequestCachedPreference.java
M src-test/src/org/openbravo/test/datasource/TestAllowUnpagedDatasourcePreference.java
---
|
|
|
(0079169)
|
hgbot
|
2015-08-04 11:13
|
|
|
|
(0079180)
|
hgbot
|
2015-08-04 12:33
|
|
Repository: erp/devel/pi
Changeset: 753c241b006723174da172eac9073decfbda9de9
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Aug 04 12:32:31 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/753c241b006723174da172eac9073decfbda9de9 [^]
Related to issue 30204: fix for test case
The problem was that default client and organization are null by default, now a check is done to avoid this problem.
---
M src-test/src/org/openbravo/test/datasource/TestAllowUnpagedDatasourcePreference.java
---
|
|
|
(0079188)
|
hgbot
|
2015-08-04 15:37
|
|
Repository: erp/devel/pi
Changeset: d7fa3edf098c2cffa164bd0d30792467e4c5d61f
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Aug 04 15:36:02 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d7fa3edf098c2cffa164bd0d30792467e4c5d61f [^]
Related to issue 30204: new fix for test case
The test case was not working properly when there were not modules in in development status
---
M src-test/src/org/openbravo/test/datasource/TestAllowUnpagedDatasourcePreference.java
R modules/org.openbravo.service.json/src-db/database/sourcedata/AD_PREFERENCE.xml
---
|
|
|
|
code reviewed
tested with manual datasources and json ws (later ones are allowed) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|