Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0016399 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] B. User interface | major | have not tried | 2011-03-21 12:03 | 2011-04-06 00:00 | |||
Reporter | plujan | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 19eaac5626ce | ||||
Projection | none | ETA | none | Target Version | 3.0RC6 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0016399: Price List Version is filled with wrong values if date format is not default | |||||||
Description | I have dd/mm/yyyy as date format (slash instead of hyphen as separator). When creating a Price List, the Price List Version is filled with a value that is not correct comparing to the one used when hyphen is the separator. See steps. | |||||||
Steps To Reproduce | 1. Use a context having Openbravo.properties modified to these values: dateFormat.js=%d/%m/%Y dateFormat.sql=DD/MM/YYYY dateFormat.java=dd/MM/yyyy dateTimeFormat.java=dd/MM/yyyy HH:mm:ss dateTimeFormat.sql=DD/MM/YYYY HH24:MI:SS 2. Log in as QAAdmin 3. Go to Price List and create a record filling all the mandatory values. 4. Save and move to Price List Version. 5. Click in New. The Name field is filled with a wrong value. See screenshot 1 6. Use a context with default values (dd-mm-yyyy) and repeat the steps. Now the value filled is the correct one. See screenshot 2 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0035572) hgbot (developer) 2011-04-04 18:58 |
Repository: erp/devel/pi Changeset: 19eaac5626ce6f11f46439091788a1989538ba06 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Mon Apr 04 18:41:52 2011 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/19eaac5626ce6f11f46439091788a1989538ba06 [^] Fixed issue 16399. Date defaults will be set differently so they don't require a date reference. Two changes have been done: - In the UIDefinition, if the default is '@#Date', we will first check if the UIDefinition is a Date one, and if not, we will find one that is. Then, we will use its specific methods to correctly parse the date into a correctly defined date. - In the UI, if the column value has 'hasDateDefault' set, then we will use the classic value (which has the nice looking date, instead of the JSON one) --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinition.java --- |
(0035622) mtaal (viewer) 2011-04-05 16:52 |
Works |
![]() |
|||
Date Modified | Username | Field | Change |
2011-03-21 12:03 | plujan | New Issue | |
2011-03-21 12:03 | plujan | Assigned To | => mtaal |
2011-03-21 12:03 | plujan | File Added: screenshot-44.png | |
2011-03-21 12:03 | plujan | Modules | => Core |
2011-03-21 12:03 | plujan | OBNetwork customer | => No |
2011-03-21 12:03 | plujan | File Added: screenshot-45.png | |
2011-03-21 12:09 | psarobe | Status | new => scheduled |
2011-03-21 12:09 | psarobe | Target Version | => 3.0RC6 |
2011-04-04 17:06 | mtaal | Assigned To | mtaal => marvintm |
2011-04-04 17:07 | mtaal | Assigned To | marvintm => mtaal |
2011-04-04 18:58 | hgbot | Checkin | |
2011-04-04 18:58 | hgbot | Note Added: 0035572 | |
2011-04-04 18:58 | hgbot | Status | scheduled => resolved |
2011-04-04 18:58 | hgbot | Resolution | open => fixed |
2011-04-04 18:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/19eaac5626ce6f11f46439091788a1989538ba06 [^] |
2011-04-05 16:52 | mtaal | Note Added: 0035622 | |
2011-04-05 16:52 | mtaal | Status | resolved => closed |
2011-04-06 00:00 | anonymous | sf_bug_id | 0 => 3276666 |
2017-11-24 09:42 | caristu | Relationship added | related to 0036897 |
Copyright © 2000 - 2009 MantisBT Group |