Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0031122 | Openbravo ERP | B. User interface | public | 2015-10-09 12:51 | 2022-02-01 08:05 | |||||||
Reporter | caristu | |||||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | acknowledged | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
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) {} | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=8551&type=bug | |||||||||||
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 |
There are no notes attached to this issue. |