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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007964
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] B. User interfaceminoralways2009-03-05 10:372022-02-01 08:08
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007964: Checkboxes do not take "N" value util they are saved

DescriptionWhen a checkbox is changed and it is used for dynamic checks without saving the record (for example in a validation) it works as expected when it is checked but not when it is unchecked.

Further information about the problem in 0007923

Steps To ReproduceThe same ones as 0007923
Proposed SolutionThis seems to be a HTML limitation: checkboxes are defined as <input type="checkbox" value="Y">, this means that it takes "Y" when it is checked but blank when it is not.

But it would be nice if there was a way to set "N" when it is not checked.
Tags250MP1
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00079232.40 closedalostale Error applaying validation on c_tax_id field from Invoice line tab in Purchase Invoice window 
related to defect 0010015pi closedalostale Read only logic does not work with Business Partner fields 

-  Notes
(0015529)
alostale (manager)
2009-04-22 13:29

As this is a HTML limitation it is not going to be fixed. It will be documented as a known issue in developers guide explaining the proposed workaround for 0007923.

For core we must ensure all display logic is using this workaround in case in the display logic participates a check box.
(0015543)
rafaroda (developer)
2009-04-22 16:00

For display logic:
SELECT w.name as window, t.name as tab, f.name as field, f.displaylogic
FROM ad_window w, ad_tab t, ad_field f
WHERE w.ad_window_id = t.ad_window_id
AND t.ad_tab_id = f.ad_tab_id
AND f.displaylogic IS NOT NULL
AND f.displaylogic like '%''N''%'
AND f.displaylogic like '%Is%'
(0015544)
rafaroda (developer)
2009-04-22 16:01

For validations:
SELECT ad_val_rule_id, name, code
FROM ad_val_rule
WHERE (code like '%@=%'
OR code like '%@ =%')

- Issue History
Date Modified Username Field Change
2009-03-05 10:37 alostale New Issue
2009-03-05 10:37 alostale Assigned To => rafaroda
2009-03-05 10:37 alostale Regression testing => No
2009-03-05 10:43 alostale Relationship added related to 0007923
2009-03-05 10:51 rafaroda Assigned To rafaroda => dbaz
2009-03-05 10:51 rafaroda Priority normal => high
2009-03-05 10:51 rafaroda Status new => acknowledged
2009-04-21 19:22 dbaz Assigned To dbaz => alostale
2009-04-22 13:29 alostale Note Added: 0015529
2009-04-22 13:29 alostale Assigned To alostale => rafaroda
2009-04-22 16:00 rafaroda Note Added: 0015543
2009-04-22 16:01 rafaroda Note Added: 0015544
2009-04-23 16:04 psarobe Tag Attached: 250MP1
2009-06-01 12:16 rafaroda Assigned To rafaroda => alostale
2009-08-31 14:32 rafaroda Relationship added related to 0010015
2009-10-06 09:01 alostale Type defect => feature request
2017-04-10 14:39 alostale Assigned To alostale => platform
2022-02-01 08:08 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker