Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017628Openbravo ERPA. Platformpublic2011-06-03 10:352011-06-14 15:53
maite 
alostale 
urgentmajoralways
closedfixed 
5
 
 
Core
No
0017628: Informative message not obtained when reconciling transactions manually and in spanish
Informative message not obtained when reconciling transactions manually and in spanish.

Reconciliation.html line 55
showJSMessage('APRM_DateWillBeUpdated');

An Ajax call is done to the server (MessageJS.java) and using the xml template the response is built.

As in AD_TEXTINTERFACES exist a record with text (Warning) and without filename associated the xml engine translates the field:

<xml-structure>
  <status>
    <type>Aviso</type>
    <title>Aviso</title>
    <description><![CDATA[Al seleccionar transacciones posteriores a la fecha de reconciliación, la fecha de la transacción será actualizada a la fecha de la línea del extracto bancario]]></description>
  </status>
</xml-structure>

in MessageBox.js the setValues_MessageBox function looks for ERROR, WARNING, INFO, SUCCESS types but as the response has a translated vale (AVISO) the message is not displayed.
0. install spanish translation
1. Configure Financial Account to make reconciliation manually
2. Add Transaction with future date 15/08/2011
3. Press Reconcile button. Your transaction is not shown as date is posterior. Uncheck option "Hide Transactions after statement date" and realize that you can now see transaction but you are not obtaining informative message letting you know that your transaction's date is going to be updated.

If you switch to English language you will obtain proper message:

Warning
When matching transactions after reconciliation date range, these transaction dates will be updated to bank statement line date
No tags attached.
blocks defect 0017486 closed alostale Informative message not obtained when reconciling transactions manually and in spanish 
Issue History
2011-06-13 17:59alostaleTypedefect => backport
2011-06-13 17:59alostalefix_in_branch => 2.50
2011-06-13 18:03hgbotCheckin
2011-06-13 18:03hgbotNote Added: 0038317
2011-06-13 18:03hgbotStatusscheduled => resolved
2011-06-13 18:03hgbotResolutionopen => fixed
2011-06-13 18:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/fdf94283adfdbdd99669937eb8b3b69c60332c63 [^]
2011-06-14 15:53maiteNote Added: 0038347
2011-06-14 15:53maiteStatusresolved => closed

Notes
(0038317)
hgbot   
2011-06-13 18:03   
Repository: erp/stable/2.50
Changeset: fdf94283adfdbdd99669937eb8b3b69c60332c63
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Jun 13 18:02:03 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/fdf94283adfdbdd99669937eb8b3b69c60332c63 [^]

fixed bug 17628: JS messages (2.50) translate code

---
M src/org/openbravo/erpCommon/businessUtility/MessageJS.java
M src/org/openbravo/erpCommon/businessUtility/MessageJS.srpt
M src/org/openbravo/erpCommon/businessUtility/MessageJS.xml
---
(0038347)
maite   
2011-06-14 15:53   
verified