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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019872
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2012-02-24 16:082012-03-02 15:39
ReporterrgorisView Statuspublic 
Assigned Toguilleaer 
PriorityimmediateResolutionfixedFixed in Version3.0MP9
StatusclosedFix in branchFixed in SCM revision5e2e3880c5ef
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019872: Strange date value in date picker

DescriptionSee screenshot, there are values with a % in them:

%0 days ago
%0 weeks ago
%0 months ago

etc.

THis must be N days ago, etc, right?
Steps To ReproducePick a date from the column filter selector in a grid
TagsRegression QA
Attached Filespng file icon percentage-days.png [^] (45,301 bytes) 2012-02-24 16:08

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00195863.0MP10 closedguilleaer Attachment message fails when translation installed. 

-  Notes
(0045518)
alostale (manager)
2012-02-28 10:59

Error introduced when fixing issue 0019586.

The messages were correctly changed for what it was reported, but didn't realize they were correct for ranges.

Check usage in ob-formitem-minidaterange.js.

ack OBUIAPP_.*_ago modules/ --js
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
880: return OB.Utilities.formatTimePassedMessage(n, 'OBUIAPP_months_ago');
883: return OB.Utilities.formatTimePassedMessage(n, 'OBUIAPP_weeks_ago');
886: return OB.Utilities.formatTimePassedMessage(n, 'OBUIAPP_days_ago');
893: return OB.Utilities.formatTimePassedMessage(n, 'OBUIAPP_hours_ago');
898: return OB.Utilities.formatTimePassedMessage(n, 'OBUIAPP_minutes_ago');

modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
25: millisecondsAgoTitle: OB.I18N.getLabel('OBUIAPP_milliseconds_ago'),
26: secondsAgoTitle: OB.I18N.getLabel('OBUIAPP_seconds_ago'),
27: minutesAgoTitle: OB.I18N.getLabel('OBUIAPP_minutes_ago'),
28: hoursAgoTitle: OB.I18N.getLabel('OBUIAPP_hours_ago'),
29: daysAgoTitle: OB.I18N.getLabel('OBUIAPP_days_ago'),
30: weeksAgoTitle: OB.I18N.getLabel('OBUIAPP_weeks_ago'),
31: monthsAgoTitle: OB.I18N.getLabel('OBUIAPP_months_ago'),
32: quartersAgoTitle: OB.I18N.getLabel('OBUIAPP_quarters_ago'),
33: yearsAgoTitle: OB.I18N.getLabel('OBUIAPP_years_ago'),
(0045533)
hgbot (developer)
2012-02-28 13:29

Repository: erp/devel/pi
Changeset: 5e2e3880c5ef80f1a4d4317187c44da8bca6dc2e
Author: Guillermo Álvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Feb 28 13:26:38 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5e2e3880c5ef80f1a4d4317187c44da8bca6dc2e [^]

Fixed issue 19872: 'Ago' messages has been changed to be shown correctly in date picker.
New messages has been created to be shown in the attachments forms

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
---
(0045535)
guilleaer (developer)
2012-02-28 13:45

Test plan:
messages in the date picker (19872)
1. Go to the Goods Shipments
2. Using the date picker you can see that the messages works fine

messages in attachments form (19586)
1. Add an attachment to the good shipment
2. The message is shown correctly

No risk of regression detected.
(0045557)
hgbot (developer)
2012-02-28 17:45

Repository: erp/devel/pi
Changeset: eace38eb23f30f1c6c721fd2eb0ac5c58d1a570c
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 28 17:45:16 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/eace38eb23f30f1c6c721fd2eb0ac5c58d1a570c [^]

Fix inconsistency (related to issue 19872)

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
---
(0045564)
alostale (manager)
2012-02-29 08:25

Code reviewed and tested on pi@3afb79bd3730
(0045971)
hudsonbot (developer)
2012-03-02 15: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/544d64e0c159 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-02-24 16:08 rgoris New Issue
2012-02-24 16:08 rgoris Assigned To => alostale
2012-02-24 16:08 rgoris File Added: percentage-days.png
2012-02-24 16:08 rgoris Modules => Core
2012-02-28 10:57 alostale Tag Attached: Regression QA
2012-02-28 10:58 alostale Relationship added related to 0019586
2012-02-28 10:59 alostale Note Added: 0045518
2012-02-28 11:00 alostale Status new => scheduled
2012-02-28 11:00 alostale Assigned To alostale => guilleaer
2012-02-28 11:00 alostale fix_in_branch => pi
2012-02-28 11:00 alostale Priority normal => immediate
2012-02-28 11:00 alostale fix_in_branch pi =>
2012-02-28 13:29 hgbot Checkin
2012-02-28 13:29 hgbot Note Added: 0045533
2012-02-28 13:29 hgbot Status scheduled => resolved
2012-02-28 13:29 hgbot Resolution open => fixed
2012-02-28 13:29 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5e2e3880c5ef80f1a4d4317187c44da8bca6dc2e [^]
2012-02-28 13:45 guilleaer Note Added: 0045535
2012-02-28 17:45 hgbot Checkin
2012-02-28 17:45 hgbot Note Added: 0045557
2012-02-29 08:25 alostale Note Added: 0045564
2012-02-29 08:25 alostale Status resolved => closed
2012-02-29 08:25 alostale Fixed in Version => 3.0MP9
2012-03-02 15:39 hudsonbot Checkin
2012-03-02 15:39 hudsonbot Note Added: 0045971


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker