Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0054099Openbravo ERPA. Platformpublic2023-12-12 08:202023-12-20 16:24
alostale 
Triage Platform Base 
normalminorhave not tried
closedfixed 
5
 
PR24Q1 
approved
No
Core
No
0054099: cannot set password to null from the BO window
It is not possible to set a password field to null from a backoffice window.
1. Log in BO
2. Select a user with password
3. Edit it removing their password
  - ERROR: check in DB the password is not null
No tags attached.
Issue History
2023-12-12 08:20alostaleNew Issue
2023-12-12 08:20alostaleAssigned To => Triage Platform Base
2023-12-12 08:20alostaleOBNetwork customer => No
2023-12-12 08:20alostaleModules => Core
2023-12-12 08:20alostaleTriggers an Emergency Pack => No
2023-12-14 13:11hgbotMerge Request Status => open
2023-12-14 13:11hgbotNote Added: 0158209
2023-12-20 16:20hgbotMerge Request Statusopen => approved
2023-12-20 16:24hgbotResolutionopen => fixed
2023-12-20 16:24hgbotStatusnew => closed
2023-12-20 16:24hgbotFixed in Version => PR24Q1
2023-12-20 16:24hgbotNote Added: 0158426
2023-12-20 16:24hgbotNote Added: 0158427

Notes
(0158209)
hgbot   
2023-12-14 13:11   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1077 [^]
(0158426)
hgbot   
2023-12-20 16:24   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 583448544b224a3825757a13ce23b8233ceb9b75
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 20-12-2023 15:20:20
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/583448544b224a3825757a13ce23b8233ceb9b75 [^]

fixes BUG-54099: cannot nullify password

Password fields could not be nullified from BO windows. When trying to set to
null a password reference field from a window, the request does not include
password_cleartext property, which made the change to be skipped.

Now we check whether the value is null so it is set even if there is no
cleartext property.

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonToDataConverter.java
---
(0158427)
hgbot   
2023-12-20 16:24   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1077 [^]