Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0048268Openbravo ERPA. Platformpublic2021-12-17 09:062021-12-28 13:26
alostale 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
PR22Q1 
Mozilla Firefox
Core
No
0048268: incorrect visualization of readonly process definition param in firefox
Readonly field parameters in process definition windows are incorrectly visualized in Firefox.

Although they are correctly not editable, they keep the editable visualization.
In backoffice as system admin:
1. Create a Process Definition - Select type: Standard
2. Add a parameter to Process Definition of type String
3. Add the Process Definition to a Menu: Go to Menu window, new record, select the process definition there
4. Logout, login and open the process definition from the menu
5. Click on Done button, check that the behaviour is different in chrome vs Mozilla Firefox
  -> ERROR: the visualization of that parameter is not correct (see attachments to compare firefox and chrome visualizations).


Original steps to reproduce:
1. As system admin create a process definition with a string parameter
2. Using Firefox, execute that process definition (don't return retryExecution from backend)
  -> ERROR: the visualization of that parameter is not correct (see attachments to compare firefox and chrome visualizations).
No tags attached.
png ff-execution.png (13,616) 2021-12-17 09:07
https://issues.openbravo.com/file_download.php?file_id=16438&type=bug
png

png chrome-execution.png (13,346) 2021-12-17 09:07
https://issues.openbravo.com/file_download.php?file_id=16439&type=bug
png
Issue History
2021-12-17 09:06alostaleNew Issue
2021-12-17 09:06alostaleAssigned To => Triage Platform Base
2021-12-17 09:06alostaleWeb browser => Mozilla Firefox
2021-12-17 09:06alostaleModules => Core
2021-12-17 09:06alostaleTriggers an Emergency Pack => No
2021-12-17 09:07alostaleFile Added: ff-execution.png
2021-12-17 09:07alostaleFile Added: chrome-execution.png
2021-12-24 11:30cbernerWeb browserMozilla Firefox => Mozilla Firefox
2021-12-24 11:30cbernerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23468#r23468
2021-12-27 17:20AugustoMauchStatusnew => scheduled
2021-12-27 17:20AugustoMauchAssigned ToTriage Platform Base => meriem_azaf
2021-12-28 10:21AugustoMauchAssigned Tomeriem_azaf => AugustoMauch
2021-12-28 10:25hgbotNote Added: 0134002
2021-12-28 13:26hgbotResolutionopen => fixed
2021-12-28 13:26hgbotStatusscheduled => closed
2021-12-28 13:26hgbotNote Added: 0134012
2021-12-28 13:26hgbotFixed in Version => PR22Q1
2021-12-28 13:26hgbotNote Added: 0134013

Notes
(0134002)
hgbot   
2021-12-28 10:25   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/484 [^]
(0134012)
hgbot   
2021-12-28 13:26   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/484 [^]
(0134013)
hgbot   
2021-12-28 13:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 13ccc4c8caa48eb1c07bbeb4978c292f9858e0c9
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 28-12-2021 13:25:29
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/13ccc4c8caa48eb1c07bbeb4978c292f9858e0c9 [^]

Fixes ISSUE-48268: Incorrect visualization of readonly input in Firefox

The problem was that in Firefox the input was keeping the focus, so instead of using the disabled-style it was
using the focused-style.

To fix this we now ensure that when disabling a form item after executing a parameter window process, the form
item loses the focus

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-base-parameter-window-view.js
---