Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020532 | Openbravo ERP | A. Platform | public | 2012-05-17 08:30 | 2012-05-28 12:44 |
|
Reporter | iperdomo | |
Assigned To | mtaal | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | 3.3.6-1-ARCH |
Product Version | pi | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
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 | 0020532: OB.Datasource.get() still uses dot (.) as field separator |
Description | The helper function OB.Datasource.get makes a request to get a Datasource definition based on an entity, but the returned field definition is still using dot as field separator |
Steps To Reproduce | * Login into the application
* Make a request to get a datasource definition, e.g. http://localhost/openbravo/org.openbravo.client.kernel/OBSERDS_Datasource/Order?_create=true&_new=true [^]
* Check the response and see that several referenced entities use: ._identifier, eg. {name: 'createdBy._identifier' }, {name: 'updatedBy._identifier' }, {name: 'documentType._identifier' },
* Now make a request to the default datasource on the same entity, e.g. http://localhost/openbravo/org.openbravo.service.datasource/Order [^]
* Check that the returned data uses $_identifier for those fields, e.g.
"createdBy$_identifier": "System", "updatedBy$_identifier": "System", "documentType$_identifier": "Purchase Order", |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-05-17 08:30 | iperdomo | New Issue | |
2012-05-17 08:30 | iperdomo | Assigned To | => mtaal |
2012-05-17 08:30 | iperdomo | Web browser | => Google Chrome |
2012-05-17 08:30 | iperdomo | Modules | => Core |
2012-05-17 08:31 | iperdomo | Web browser | Google Chrome => Google Chrome |
2012-05-17 08:31 | iperdomo | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=3477#r3477 |
2012-05-17 14:58 | hgbot | Checkin | |
2012-05-17 14:58 | hgbot | Note Added: 0048733 | |
2012-05-17 14:58 | hgbot | Status | new => resolved |
2012-05-17 14:58 | hgbot | Resolution | open => fixed |
2012-05-17 14:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b08f17d2334f850fa47d67f1f46e1e68992c9b69 [^] |
2012-05-17 14:59 | mtaal | Note Added: 0048734 | |
2012-05-25 12:12 | hudsonbot | Checkin | |
2012-05-25 12:12 | hudsonbot | Note Added: 0049156 | |
2012-05-28 12:44 | iperdomo | Note Added: 0049357 | |
2012-05-28 12:44 | iperdomo | Status | resolved => closed |
Notes |
|
(0048733)
|
hgbot
|
2012-05-17 14:58
|
|
Repository: erp/devel/pi
Changeset: b08f17d2334f850fa47d67f1f46e1e68992c9b69
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu May 17 14:57:33 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b08f17d2334f850fa47d67f1f46e1e68992c9b69 [^]
Fixes issue 20532: OB.Datasource.get() still uses dot (.) as field separator
Replace field separator dot with constant in several places.
---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DefaultDataSourceService.java
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/templates/datasource.ftl
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorComponent.java
---
|
|
|
(0048734)
|
mtaal
|
2012-05-17 14:59
|
|
As an extra remark, to test this: test a selector with outfields |
|
|
|
|
|
|
Tested on pi @ rev ba95c4bd8198 |
|