Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019586Openbravo ERPA. Platformpublic2012-01-27 14:592012-03-02 15:34
ioritzCia 
guilleaer 
normalminoralways
closedfixed 
20Ubuntu 10.04
 
3.0MP103.0MP9 
Mozilla Firefox
Core
No
0019586: Attachment message fails when translation installed.
Having Spanish Translation installed for all Openbravo ditribution modules. If you enter with spanish language the message of an attachment is wrong shown. It shows 'subido hace N minutos' that N should be a number.

The fail happens in line:

  return message.replace(/^N/,n)

inside

  OB.Utilities.formatTimePassedMessage function.
Having Spanish Translation installed for all Openbravo ditribution modules:

- Go to any attachment and see the message.
- If there is not an attachment,create it.
No tags attached.
related to defect 0019872 closed guilleaer Strange date value in date picker 
Issue History
2012-01-27 14:59ioritzCiaNew Issue
2012-01-27 14:59ioritzCiaAssigned To => alostale
2012-01-27 14:59ioritzCiaWeb browser => Mozilla Firefox
2012-01-27 14:59ioritzCiaModules => Core
2012-01-27 15:15ioritzCiaWeb browserMozilla Firefox => Mozilla Firefox
2012-01-27 15:15ioritzCiaResolution time => 1334095200
2012-01-27 15:15ioritzCiaTarget Version => 3.0MP10
2012-01-27 15:15ioritzCiaIssue Monitored: networkb
2012-02-02 09:02alostaleAssigned Toalostale => guilleaer
2012-02-03 11:10hgbotCheckin
2012-02-03 11:10hgbotNote Added: 0044848
2012-02-03 11:10hgbotStatusnew => resolved
2012-02-03 11:10hgbotResolutionopen => fixed
2012-02-03 11:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cbf12eaccb56398d07d073cd6b16083ce3af8053 [^]
2012-02-03 11:11alostaleIssue Monitored: marvintm
2012-02-03 11:12alostaleNote Added: 0044849
2012-02-22 11:05alostaleStatusresolved => closed
2012-02-22 11:05alostaleFixed in Version => 3.0MP9
2012-02-28 10:58alostaleRelationship addedrelated to 0019872
2012-03-02 15:34hudsonbotCheckin
2012-03-02 15:34hudsonbotNote Added: 0045749

Notes
(0044848)
hgbot   
2012-02-03 11:10   
Repository: erp/devel/pi
Changeset: cbf12eaccb56398d07d073cd6b16083ce3af8053
Author: Guillermo Álvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Feb 02 16:20:05 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cbf12eaccb56398d07d073cd6b16083ce3af8053 [^]

Fixed issue 19586: Messages with time references uses parameters to set values

---
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
---
(0044849)
alostale   
2012-02-03 11:12   
code review and tested on pi@cbf12eaccb56

After this change tranlation for these messages must be updated
(0045749)
hudsonbot   
2012-03-02 15:34   
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