Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032901Openbravo ERPB. User interfacepublic2016-05-09 08:332022-02-01 08:05
alostale 
Triage Platform Base 
normalminoralways
acknowledgedopen 
5
 
 
Core
No
0032901: header buttons shown when header is not yet saved
It is possible to reach an inconsistent state where header buttons are visible while header is not yet saved because its mandatory fields are not filled in. If these buttons are clicked, errors are thrown because the header cannot be actually saved before execution.
1. Open Sales Invoice window
2. click new in form
3. without filling in mandatory fields
4. click in invoice lines part (to trigger autosave)
   -> It correctly fails to save header complaining about mandatory fields.
   -> However:
       At this moment buttons (complete etc...) are being enabled.
       Which is already wrong. as there is no selected invoice.
       and using any of the buttons runs into all kind of crazy follow up errors (NullPointerException etc..)
In this situation, buttons shouldn't be shown.
No tags attached.
Issue History
2016-05-09 08:33alostaleNew Issue
2016-05-09 08:33alostaleAssigned To => platform
2016-05-09 08:33alostaleModules => Core
2016-05-09 08:33alostaleTriggers an Emergency Pack => No
2016-05-20 08:54alostaleStatusnew => acknowledged
2022-02-01 08:05alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.