Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016399
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfacemajorhave not tried2011-03-21 12:032011-04-06 00:00
ReporterplujanView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision19eaac5626ce
ProjectionnoneETAnoneTarget Version3.0RC6
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016399: Price List Version is filled with wrong values if date format is not default

DescriptionI 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 Reproduce1. 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
TagsNo tags attached.
Attached Filespng file icon screenshot-44.png [^] (36,209 bytes) 2011-03-21 12:03


png file icon screenshot-45.png [^] (39,942 bytes) 2011-03-21 12:03

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0036897 closedjarmendariz Different types of date format when using the @#Date@ default value into a String reference 

-  Notes
(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 (manager)
2011-04-05 16:52

Works

- Issue History
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 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
Powered by Mantis Bugtracker