Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007027Openbravo ERP01. General setuppublic2009-01-20 13:512009-04-21 10:33
roklenardic 
pheenan 
highmajoralways
closedfixed 
20Ubuntu 8.10
pi 
2.50beta 
Core
No
0007027: Links to Alerts elements with UUID doesn't work
When an alert is triggered that links to an item that has a UUID (as opposed to a previous ID such as 1000012) identifier, the link does not work.
Links are constructed using the following structure:
onclick="submitCommandChangingName(DDC962B4AE5142AABD334E6CE964D237, '../BusinessPartner/BusinessPartner_Edition.html', 'inpcBpartnerId'); return false;"

because of alpha numeric structure of UUID the syntax of the javascript is corrupt. UUID needs to be put in single quotation marks. To correct this,
fix the src/org/openbravo/erpCommon/ad_forms/AlertManagementDetail.srpt, and put the single quotation marks around the xx on line 40.
commsup_sprint6, UUID project
Issue History
2009-01-20 13:51roklenardicNew Issue
2009-01-20 13:51roklenardicAssigned To => rafaroda
2009-01-20 13:51roklenardicsf_bug_id0 => 2523583
2009-01-20 13:51roklenardicRegression testing => No
2009-01-21 06:17pjuvaraPrioritynormal => urgent
2009-01-21 06:17pjuvaraSeveritytrivial => major
2009-01-21 09:14rafarodaTag Attached: UUID project
2009-01-30 12:01psarobeNote Added: 0012883
2009-01-30 12:01psarobeAssigned Torafaroda => pheenan
2009-01-30 12:01psarobePriorityurgent => normal
2009-01-30 12:01psarobeStatusnew => scheduled
2009-02-02 06:18pjuvaraPrioritynormal => high
2009-02-12 10:06pheenanTag Attached: commsup_sprint6
2009-02-12 17:04svnbotCheckin
2009-02-12 17:04svnbotNote Added: 0013424
2009-02-12 17:04svnbotStatusscheduled => resolved
2009-02-12 17:04svnbotResolutionopen => fixed
2009-02-12 17:04svnbotsvn_revision => 13103
2009-04-21 10:33psarobeStatusresolved => closed

Notes
(0012883)
psarobe   
2009-01-30 12:01   
Thanks Rok
(0013424)
svnbot   
2009-02-12 17:04   
Repository: openbravo
Revision: 13103
Author: pheenan
Date: 2009-02-12 17:04:08 +0100 (Thu, 12 Feb 2009)

Fixed 7027. Modified java class preparing the target url in the wrong format. Added quote marks to the record id attribute to force it to be used as a string.

---
U trunk/src/org/openbravo/erpCommon/ad_forms/AlertManagement.java
U trunk/src/org/openbravo/erpCommon/ad_forms/AlertManagementDetail.srpt
---

https://dev.openbravo.com/websvn/openbravo/?rev=13103&sc=1 [^]