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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012364
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2010-02-19 16:322010-04-19 21:13
ReportergmauleonView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision695c4b4aee08
ProjectionnoneETAnoneTarget Version2.50MP14
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

0012364: JS messages not working together with modules

Description-When a user creates a nes JS message in the application to be used with this JS method ( showJSMessage(7);) needs to enter a new record in the messages tables using the search key JS followed with the code.

-In the case of the modules the systems does not allow to enter for instance JS77 you need to add the DB prefix -> EXAMPLE_JS77

-Afterward this message is not working
Steps To Reproduce-Create a new JS message within a module with for instance the code 77
     EXAMPLE_JS77
-Apply the call in the code.
     showJSMessage(77);

The message is not shown
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0012560 closedmirurita Error message is too technical, in Add Paymnet window, when payment is processed after un selecting all the line items. 

-  Notes
(0024691)
adrianromero (manager)
2010-02-22 12:57

If you define the error message as

EXAMPLE_JS77

Try to invoke it using:


showJSMessage(EXAMPLE_77);

Removing the JS string in the error message identifier.
(0024693)
adrianromero (manager)
2010-02-22 13:36

It still fails using showJSMessage(EXAMPLE_77);
(0024698)
alostale (manager)
2010-02-22 15:40

Note the message must be Confirmation type.

Then showJSMessage('EXAMPLE_JS77'); should work (note now it is an string, don't pass the parameter as a number).
(0024755)
gmauleon (reporter)
2010-02-23 17:18

I've try it and seems not to be working I get the following JS error

Error: j[0].firstChild is null
Archivo de origen: http://localhost:8088/openbravo/web/js/messages.js [^]
Línea: 9
(0025984)
gmauleon (reporter)
2010-04-08 16:16

I've tested the provided workaround and seems that is not working
(0025995)
hgbot (developer)
2010-04-08 17:57

Repository: erp/devel/pi
Changeset: 695c4b4aee0804f62e2655090a4c4621fc44d574
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Apr 08 18:08:45 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/695c4b4aee0804f62e2655090a4c4621fc44d574 [^]

fixed bug 12364: JS messages not working together with modules

---
M web/js/messages.js
---
(0026131)
hgbot (developer)
2010-04-13 12:20

Repository: erp/devel/pi
Changeset: 92fd7db0c95dca0b5110272e27977091b4e5f8ca
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Tue Apr 13 12:32:40 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/92fd7db0c95dca0b5110272e27977091b4e5f8ca [^]

Related to issue 12364: Fixed execution url to be able to execute it in any depth

---
M src/org/openbravo/erpCommon/security/Login_F1.html
M web/js/messages.js
M web/js/utils.js
---
(0026438)
hudsonbot (developer)
2010-04-19 21:13

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/695c4b4aee08 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]
(0026460)
hudsonbot (developer)
2010-04-19 21:13

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/92fd7db0c95d [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]

- Issue History
Date Modified Username Field Change
2010-02-19 16:32 gmauleon New Issue
2010-02-19 16:32 gmauleon Assigned To => adrianromero
2010-02-22 12:57 adrianromero Note Added: 0024691
2010-02-22 12:57 adrianromero Status new => feedback
2010-02-22 13:36 adrianromero Note Added: 0024693
2010-02-22 13:36 adrianromero Status feedback => new
2010-02-22 13:36 adrianromero Assigned To adrianromero => alostale
2010-02-22 15:40 alostale Note Added: 0024698
2010-02-22 15:40 alostale Status new => closed
2010-02-22 15:40 alostale Resolution open => no change required
2010-02-23 00:01 anonymous sf_bug_id 0 =>
2010-02-23 17:18 gmauleon Note Added: 0024755
2010-03-08 16:06 jpabloae Target Version 2.50MP13 => 2.50MP14
2010-03-10 18:30 anonymous sf_bug_id => 2968091
2010-04-08 16:16 gmauleon Note Added: 0025984
2010-04-08 16:16 gmauleon Status closed => new
2010-04-08 16:16 gmauleon Resolution no change required => open
2010-04-08 16:34 mirurita Relationship added related to 0012560
2010-04-08 17:57 hgbot Checkin
2010-04-08 17:57 hgbot Note Added: 0025995
2010-04-08 17:57 hgbot Status new => resolved
2010-04-08 17:57 hgbot Resolution open => fixed
2010-04-08 17:57 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/695c4b4aee0804f62e2655090a4c4621fc44d574 [^]
2010-04-13 12:20 hgbot Checkin
2010-04-13 12:20 hgbot Note Added: 0026131
2010-04-13 12:21 dbaz Status resolved => closed
2010-04-19 21:13 hudsonbot Checkin
2010-04-19 21:13 hudsonbot Note Added: 0026438
2010-04-19 21:13 hudsonbot Checkin
2010-04-19 21:13 hudsonbot Note Added: 0026460


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker