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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031122
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfaceminoralways2015-10-09 12:512022-02-01 08:05
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031122: The cancel edit button does not work properly in records without editable fields under some circumstances

DescriptionThe cancel edit button does not work properly in records without editable fields if also none of the fields has the "first focused field" flag active.

Having this settings, if we click on the edit button and then on the cancel edit, the UI does not show the edit button (pencil) again.

This configuration could be avoided if it would be available an UI Pattern that just prevents edition (Insert or Update)
Steps To Reproduce1) Choose any tab, and leave the "first focused field" flag for every field as inactive.
2) Define the column related to all that fields as not updateable
3) Compile and restart
4) Open the window where that tab is located. Navigate to that tab.
5) In grid view, click on the edit button of any record.
6) Click on the cancel edit button. Notice that the edit button is not appearing anymore
Proposed SolutionThe problem is on the startEditing method of the OBViewGrid class. As it does not exists any focusable field, this method does not define any value for the "colNum" value, so any cell will be selected, causing the problem later.

Under this situation this statement is never true:

if (this.getFields()[i].editorProperties && this.getFields()[i].editorProperties.firstFocusedField) {}
TagsNo tags attached.
Attached Filespng file icon cancelButtonNotGone.png [^] (6,041 bytes) 2015-10-09 13:00

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0031124 newTriage Platform Base Add the "Insert or Delete" pattern for the standard window tabs 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-10-09 12:51 caristu New Issue
2015-10-09 12:51 caristu Assigned To => platform
2015-10-09 12:51 caristu OBNetwork customer => No
2015-10-09 12:51 caristu Modules => Core
2015-10-09 12:51 caristu Triggers an Emergency Pack => No
2015-10-09 12:55 caristu Proposed Solution updated
2015-10-09 12:58 caristu File Added: cancelButtonNotGone.png
2015-10-09 12:59 caristu File Deleted: cancelButtonNotGone.png
2015-10-09 13:00 caristu File Added: cancelButtonNotGone.png
2015-10-09 13:00 caristu Issue Monitored: networkb
2015-10-09 13:03 caristu Relationship added related to 0031124
2015-11-10 15:02 alostale Status new => acknowledged
2022-02-01 08:05 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker