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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0004501
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2008-07-24 10:262009-04-21 11:05
ReporterrafarodaView Statuspublic 
Assigned Todbaz 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision6033
ProjectionnoneETAnoneTarget Version2.40
OSLinux 32 bitDatabasePostgreSQLJava version1.5
OS VersionUbuntu 7.10Database version8.3Ant version1.7
Product VersionpiSCM revision5988 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0004501: Read-only logic do not work properly with combos and callouts

DescriptionWhile setting a read-only logic to a combobox, it works well.

But if this combo has to be changed with a callout, the value is changed correctly but then the old value is reset (combo reloads itself to the old value).
Steps To Reproduce1) Set a read-only logic for a Currency combo column (Application Dictionary || Tables and Columns || Table >> Column).
2) Set a callout that changes this combo (for instance, changes the Currency value when selecting a Price List).

If you debug the execution of the callout with Firebug you notice that:
* When the combo is not read-only, in line 2583 of 'utils.js' file (/web/js/utils.js) the combo has the correct value and obj.onchange() does not make any action.
* When the combo is read-only (read-only logic working), in line 2583 of 'utils.js' file (/web/js/utils.js) the combo has the correct value but obj.onchange() executes function selectCombo (line 1890 of 'utils.js') that resets the value to its old value.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0008426)
svnbot (reporter)
2008-07-29 17:55

Repository: openbravo
Revision: 6033
Author: dbaz
Date: 2008-07-29 17:55:36 +0200 (Tue, 29 Jul 2008)

Fixed bug 0004501 Now a combo with a callout associated and readonly logic related runs ok

---
U trunk/web/js/utils.js
---

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

- Issue History
Date Modified Username Field Change
2008-07-24 10:26 rafaroda New Issue
2008-07-24 10:26 rafaroda Assigned To => cromero
2008-07-24 10:26 rafaroda sf_bug_id 0 => 2026523
2008-07-24 10:29 rafaroda Proposed Solution updated
2008-07-29 17:52 dbaz Assigned To cromero => dbaz
2008-07-29 17:52 dbaz Status new => scheduled
2008-07-29 17:52 dbaz Target Version => 2.40
2008-07-29 17:55 svnbot Checkin
2008-07-29 17:55 svnbot Note Added: 0008426
2008-07-29 17:55 svnbot Status scheduled => resolved
2008-07-29 17:55 svnbot Resolution open => fixed
2008-07-29 17:55 svnbot svn_revision => 6033
2009-04-21 11:05 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker