Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0036897 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | minor | always | 2017-09-19 18:16 | 2018-01-03 12:39 | |||
| Reporter | JONHM | View Status | public | |||||
| Assigned To | jarmendariz | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR18Q1 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | b0c64f2ef32d | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | caristu | |||||||
| OBNetwork customer | OBPS | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | 48224 | |||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0036897: Different types of date format when using the @#Date@ default value into a String reference | |||||||
| Description | We obtain different types of date format when using the @#Date@ default value into a String reference. It is caused because referenceQry used in UIDefinitionController class is not been ordered | |||||||
| Steps To Reproduce | 1) Open "Physical Inventory" window and create a new record Depends on the environment, the format of 'Name' field is different. | |||||||
| Proposed Solution | This query does not have an 'order by' clause: https://code.openbravo.com/erp/devel/pi/file/27a01d1d9bee/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinitionController.java#l125 [^] But anyway it could be useful to decide one unique reference to use in this case or set a new preference to let the user to decide it. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0100696) caristu (viewer) 2017-11-24 09:54 |
Need to decide which is the best criteria to select the most suitable DateUIDefinition to parse the date in this case. |
|
(0101061) hgbot (developer) 2017-12-15 13:50 |
Repository: erp/devel/pi Changeset: b0c64f2ef32ddf4a0a7a5967951fc55b329791f9 Author: Javier Armendáriz <javier.armendariz <at> openbravo.com> Date: Fri Dec 15 09:16:47 2017 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/b0c64f2ef32ddf4a0a7a5967951fc55b329791f9 [^] Fixes bug 36897: Inconsistent date format for default value in String reference Depending on which UIDefinition is picked up first, different Date UIDefinitions could be used to format the @#Date@ expression as the default value of a String field. Now we use DateTimeUIDefinition to ensure we always apply the same date format. --- M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinition.java --- |
|
(0101062) caristu (viewer) 2017-12-15 13:51 |
Code reviewed + tested OK. |
|
(0101527) hudsonbot (viewer) 2018-01-03 12:39 |
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/c81e0d3cbab5 [^] Maturity status: Test |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2017-09-19 18:16 | JONHM | New Issue | |
| 2017-09-19 18:16 | JONHM | Assigned To | => platform |
| 2017-09-19 18:16 | JONHM | OBNetwork customer | => Yes |
| 2017-09-19 18:16 | JONHM | Modules | => Core |
| 2017-09-19 18:16 | JONHM | Support ticket | => 48224 |
| 2017-09-19 18:16 | JONHM | Triggers an Emergency Pack | => No |
| 2017-09-19 18:23 | JONHM | Summary | Different types of date format when using the @#Date@ default value in a String reference => Different types of date format when using the @#Date@ default value into a String reference |
| 2017-09-19 18:23 | JONHM | Description Updated | View Revisions |
| 2017-09-19 18:23 | JONHM | Proposed Solution updated | |
| 2017-09-19 18:29 | JONHM | File Added: environmentA.png | |
| 2017-09-19 18:29 | JONHM | File Added: environmentB.png | |
| 2017-10-04 10:12 | Practics | Issue Monitored: Practics | |
| 2017-11-24 09:42 | caristu | Relationship added | related to 0016399 |
| 2017-11-24 09:54 | caristu | Note Added: 0100696 | |
| 2017-11-24 09:54 | caristu | Status | new => acknowledged |
| 2017-11-28 14:05 | caristu | Status | acknowledged => scheduled |
| 2017-11-28 14:05 | caristu | Assigned To | platform => caristu |
| 2017-11-28 16:24 | caristu | Assigned To | caristu => platform |
| 2017-11-28 16:24 | caristu | Status | scheduled => acknowledged |
| 2017-12-13 19:27 | caristu | Assigned To | platform => jarmendariz |
| 2017-12-14 11:02 | caristu | Status | acknowledged => scheduled |
| 2017-12-15 13:50 | hgbot | Checkin | |
| 2017-12-15 13:50 | hgbot | Note Added: 0101061 | |
| 2017-12-15 13:50 | hgbot | Status | scheduled => resolved |
| 2017-12-15 13:50 | hgbot | Resolution | open => fixed |
| 2017-12-15 13:50 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b0c64f2ef32ddf4a0a7a5967951fc55b329791f9 [^] |
| 2017-12-15 13:51 | caristu | Review Assigned To | => caristu |
| 2017-12-15 13:51 | caristu | Note Added: 0101062 | |
| 2017-12-15 13:51 | caristu | Status | resolved => closed |
| 2017-12-15 13:51 | caristu | Fixed in Version | => 3.0PR18Q1 |
| 2018-01-03 12:39 | hudsonbot | Checkin | |
| 2018-01-03 12:39 | hudsonbot | Note Added: 0101527 | |
| Copyright © 2000 - 2009 MantisBT Group |