Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020532 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2012-05-17 08:30 | 2012-05-28 12:44 | |||
Reporter | iperdomo | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | b08f17d2334f | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | OpenJDK 1.6.0_24 | |||
OS Version | 3.3.6-1-ARCH | Database version | 9.1.3 | Ant version | 1.8.2 | |||
Product Version | pi | SCM revision | 5e580de24a96 | |||||
Review Assigned To | ||||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
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", | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0048733) hgbot (developer) 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 (manager) 2012-05-17 14:59 |
As an extra remark, to test this: test a selector with outfields |
(0049156) hudsonbot (developer) 2012-05-25 12:12 |
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/5401e185a8b0 [^] Maturity status: Test |
(0049357) iperdomo (reporter) 2012-05-28 12:44 |
Tested on pi @ rev ba95c4bd8198 |
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |