Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0041020Openbravo ERPB. User interfacepublic2019-06-04 11:142022-02-01 08:05
alostale 
Triage Platform Base 
normalmajorhave not tried
acknowledgedopen 
5
 
 
Core
No
0041020: inconsistent state creating new record in form while editing in grid an incomplete record
If while creating or editing a row in grid view without having filled all mandatory fields, a new record is created in form view. This record is in an inconsistent state, not being possible to save it.
= Case 1. New record =
1.1 Create a Sales Order header
1.2 Create a new line in grid
1.3 Click on "Create a new record in a form" toolbar button
1.4 Select "Agua Sin Gas" product
  -> ERROR:
      * The fields that should have been modified (ie. UOM, Price...) remain the same
      * NPE in FIC can be seen in openbravo.log
1.5 Fill all mandatory fields and save
  -> ERROR:
      * The record cannot be saved, the following message is displayed: "The tab you left (Lines) has errors and one or more records which could not be saved. See the detailed error message on the tab itself."

= Case 2. Edit existing record =
2.1 Create a Sales Order header
2.2 Create a new line with all its values correctly set and save it
2.3 Edit that line in grid view
2.4 Remove value in Ordered Quantity mandatory field
2.5 Click on "Create a new record in a form" toolbar button
2.6 Select "Agua Sin Gas" product
  -> ERROR:
      * The fields that should have been modified (ie. UOM, Price...) remain the same
      * NPE in FIC can be seen in openbravo.log
2.7 Fill all mandatory fields and save
  -> ERROR:
      * The record cannot be saved, the following message is displayed: "The tab you left (Lines) has errors and one or more records which could not be saved. See the detailed error message on the tab itself."
No tags attached.
related to defect 00398653.0PR19Q3 closed AugustoMauch [19Q1] [KS] It is possible to create an empty record from an empty record 
Issue History
2019-06-04 11:14alostaleNew Issue
2019-06-04 11:14alostaleAssigned To => platform
2019-06-04 11:14alostaleModules => Core
2019-06-04 11:14alostaleTriggers an Emergency Pack => No
2019-06-04 11:15alostaleSeverityminor => major
2019-06-04 11:15alostaleRelationship addedrelated to 0039865
2019-06-04 11:15alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18878#r18878
2019-06-04 11:16alostaleStatusnew => acknowledged
2022-02-01 08:05alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.