Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0031122 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
defect | [Openbravo ERP] B. User interface | minor | always | 2015-10-09 12:51 | 2022-02-01 08:05 | ||||||
Reporter | caristu | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | normal | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
Projection | none | ETA | none | Target Version | |||||||
OS | Any | Database | Any | Java version | |||||||
OS Version | Database version | Ant version | |||||||||
Product Version | SCM revision | ||||||||||
Merge Request Status | |||||||||||
Review Assigned To | |||||||||||
OBNetwork customer | No | ||||||||||
Web browser | |||||||||||
Modules | Core | ||||||||||
Support ticket | |||||||||||
Regression level | |||||||||||
Regression date | |||||||||||
Regression introduced in release | |||||||||||
Regression introduced by commit | |||||||||||
Triggers an Emergency Pack | No | ||||||||||
Summary | 0031122: The cancel edit button does not work properly in records without editable fields under some circumstances | ||||||||||
Description | The 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 Reproduce | 1) 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 Solution | The 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) {} | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | ![]() | ||||||||||
![]() |
||||||||
|
![]() |
|||
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 |