Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018655Openbravo ERPA. Platformpublic2011-09-30 11:402011-10-12 01:59
mirurita 
marvintm 
normalminoralways
closedfixed 
5
pi 
3.0MP43.0MP4 
Core
No
0018655: Callout - when FIC returns several MESSAGE objects the last one should be shown
Field A - Launches callout A which returns a message: "Hello I'm the field A" and it changes the Field B.

Field B - Launches callout B which returns a message: "Hello I'm the field B"

In 2.50 the second callout will overwrite the first message and the user will see: "Hello I'm the field B"

In 3.0 the first message is shown "Hello I'm the field A".

Different behavior in 2.50 and 3.0
1) Create a callout A for field A:
 - return a message: "Hello I'm the field A"
 - changes the field B

2) Create a callout B for field B that return a message: "Hello I'm the field B"

3) Change field A and notice that the message of callout B (last fired callout) is shown.
Make behavior consistent:
I think the last message should be shown.
See attached diff.
No tags attached.
patch issue18655.patch (1,111) 2011-09-30 11:42
https://issues.openbravo.com/file_download.php?file_id=4608&type=bug
Issue History
2011-09-30 11:40miruritaNew Issue
2011-09-30 11:40miruritaAssigned To => marvintm
2011-09-30 11:40miruritaModules => Core
2011-09-30 11:42miruritaFile Added: issue18655.patch
2011-09-30 11:47marvintmTarget Version => 3.0MP4
2011-09-30 11:47marvintmStatusnew => acknowledged
2011-09-30 11:47marvintmStatusacknowledged => scheduled
2011-09-30 11:47marvintmfix_in_branch => pi
2011-09-30 11:48hgbotCheckin
2011-09-30 11:48hgbotNote Added: 0041403
2011-09-30 11:48hgbotStatusscheduled => resolved
2011-09-30 11:48hgbotResolutionopen => fixed
2011-09-30 11:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/29c7f8e120e06dba7809f132400f6a38c8053c1e [^]
2011-10-04 16:11dbazStatusresolved => closed
2011-10-04 16:11dbazFixed in Version => 3.0MP4
2011-10-12 01:59hudsonbotCheckin
2011-10-12 01:59hudsonbotNote Added: 0041729

Notes
(0041403)
hgbot   
2011-09-30 11:48   
Repository: erp/devel/pi
Changeset: 29c7f8e120e06dba7809f132400f6a38c8053c1e
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Sep 30 11:48:16 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/29c7f8e120e06dba7809f132400f6a38c8053c1e [^]

Fixed issue 18655. If there are several messages, the last one will be shown.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0041729)
hudsonbot   
2011-10-12 01:59   
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/9bd2b5c2d982 [^]

Maturity status: Test