Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0029683 | Openbravo ERP | A. Platform | public | 2015-04-23 16:44 | 2015-12-11 08:39 |
|
Reporter | rbianchini | |
Assigned To | caristu | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | 3.0PR16Q1 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | No |
Web browser | Google Chrome |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0029683: web services do not filter by organization in System/Clients Entities |
Description | web services do not filter by organization in System/Clients Entities |
Steps To Reproduce | 1- Login with role QA testing
2- Go to Window "Country and Regions"
3- Add a new Region for Spain (e.g: Test)
4- Connect to : https://livebuilds.openbravo.com/erp_pi_pgsql/ws/dal/Country/106 [^]
5- Notice that the result is showing data for both F&B and QA Clients, but the default role is from F&B |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | causes | defect | 0032584 | | closed | inigosanchez | Header tab data disappear | causes | defect | 0035397 | | closed | caristu | Not possible to get on the webservice regions of a country when those are defined to client 0. |
|
Attached Files | Bug.png (320,903) 2015-04-23 16:44 https://issues.openbravo.com/file_download.php?file_id=8018&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2015-04-23 16:44 | rbianchini | New Issue | |
2015-04-23 16:44 | rbianchini | Assigned To | => platform |
2015-04-23 16:44 | rbianchini | File Added: Bug.png | |
2015-04-23 16:44 | rbianchini | OBNetwork customer | => No |
2015-04-23 16:44 | rbianchini | Web browser | => Google Chrome |
2015-04-23 16:44 | rbianchini | Modules | => Core |
2015-04-23 16:44 | rbianchini | Triggers an Emergency Pack | => No |
2015-04-24 08:26 | alostale | Web browser | Google Chrome => Google Chrome |
2015-04-24 08:26 | alostale | Priority | normal => urgent |
2015-04-24 08:26 | alostale | Status | new => acknowledged |
2015-11-11 11:34 | alostale | Priority | urgent => high |
2015-11-17 11:18 | caristu | Assigned To | platform => caristu |
2015-11-17 11:18 | caristu | Status | acknowledged => scheduled |
2015-11-17 17:57 | caristu | Review Assigned To | => alostale |
2015-11-17 17:57 | caristu | Web browser | Google Chrome => Google Chrome |
2015-11-17 17:58 | caristu | Issue Monitored: alostale | |
2015-11-17 17:59 | hgbot | Checkin | |
2015-11-17 17:59 | hgbot | Note Added: 0081933 | |
2015-11-17 17:59 | hgbot | Status | scheduled => resolved |
2015-11-17 17:59 | hgbot | Resolution | open => fixed |
2015-11-17 17:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2c0caa49fcc0792e77c29ad705fe662b1eaf12d3 [^] |
2015-11-23 21:17 | hudsonbot | Checkin | |
2015-11-23 21:17 | hudsonbot | Note Added: 0082249 | |
2015-11-27 10:50 | hgbot | Checkin | |
2015-11-27 10:50 | hgbot | Note Added: 0082413 | |
2015-11-28 15:24 | hudsonbot | Checkin | |
2015-11-28 15:24 | hudsonbot | Note Added: 0082448 | |
2015-11-30 09:53 | alostale | Note Added: 0082459 | |
2015-11-30 09:53 | alostale | Status | resolved => new |
2015-11-30 09:53 | alostale | Resolution | fixed => open |
2015-11-30 09:53 | alostale | Note Edited: 0082459 | bug_revision_view_page.php?bugnote_id=0082459#r10382 |
2015-12-01 11:35 | hgbot | Checkin | |
2015-12-01 11:35 | hgbot | Note Added: 0082481 | |
2015-12-01 11:35 | caristu | Status | new => scheduled |
2015-12-01 11:36 | caristu | Status | scheduled => resolved |
2015-12-01 11:36 | caristu | Resolution | open => fixed |
2015-12-02 00:10 | hudsonbot | Checkin | |
2015-12-02 00:10 | hudsonbot | Note Added: 0082510 | |
2015-12-11 08:39 | alostale | Note Added: 0082669 | |
2015-12-11 08:39 | alostale | Status | resolved => closed |
2015-12-11 08:39 | alostale | Fixed in Version | => 3.0PR16Q1 |
2016-04-05 13:07 | inigosanchez | Relationship added | causes 0032584 |
2017-03-01 18:02 | caristu | Relationship added | causes 0035397 |
Notes |
|
(0081933)
|
hgbot
|
2015-11-17 17:59
|
|
Repository: erp/devel/pi
Changeset: 2c0caa49fcc0792e77c29ad705fe662b1eaf12d3
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Nov 17 17:57:32 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2c0caa49fcc0792e77c29ad705fe662b1eaf12d3 [^]
fixes issue 29683: web services not filter system/client entity by client
The problem here was that system/client entities can have children properties which belongs to different clients. So it was necessary to filter the children properties by the current client also, when returning the web service results.
---
M src/org/openbravo/dal/xml/EntityXMLConverter.java
M src/org/openbravo/service/rest/DalWebService.java
---
|
|
|
|
|
|
(0082413)
|
hgbot
|
2015-11-27 10:50
|
|
Repository: erp/devel/pi
Changeset: 90a660b52e0712467ae41e4e962cae35df8997ae
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Nov 27 10:48:02 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/90a660b52e0712467ae41e4e962cae35df8997ae [^]
related to issue 29683: check client/org in web services when requesting by id
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
M src/org/openbravo/service/rest/DalWebService.java
---
|
|
|
|
|
|
|
reopening because of code review for changeset 90a660b52e07:
Don't create query by concatenating strings, it can be used for HQL injection. Use parameterized query instead.
|
|
|
(0082481)
|
hgbot
|
2015-12-01 11:35
|
|
Repository: erp/devel/pi
Changeset: 1ff6e13ac85672bd37e76a86390cdd449c418c0e
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Dec 01 11:34:45 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1ff6e13ac85672bd37e76a86390cdd449c418c0e [^]
related to issue 29683: use parameterized query when requesting by id
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
M src/org/openbravo/service/rest/DalWebService.java
---
|
|
|
|
|
|
|
|