Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #28991 Back to Issue ]
Summary 0028991: When the field that points to the ID column of a parent tab is removed from ad_field, record creation in grid view does not work
Revision 2015-02-20 12:43 by AugustoMauch
Steps To Reproduce As System Admin:
- Open the Windows, Tabs and Fields window
- Select the Unit of Measure window
- Select the Translation tab
- Clear the filters of the Fields tab.
- Remove the UOM field. This fields points to the ID column of the UOM tab.
- Compile and restart tomcat
- Open Unit of Measure
- Select any unit of measure
- Try to create a record in the Translation tab in grid view. It will not be possible.
Revision 2015-02-20 12:43 by AugustoMauch
Description Is the user removes from AD_FIELD a field that points to the ID field of its parent tab, then it is not possible to create a record in grid view for that tab.
Revision 2015-02-19 18:01 by AugustoMauch
Steps To Reproduce Go to https://livebuilds.openbravo.com/retail_mp_3.0RR15Q1.1/ [^]
Log in as Openbravo/openbravo
Switch (if necessary) to White Valley Admin role.
Go to the Assortment window.
Try to create a record in the Product tab in grid view. Check that the record fails to be created.
Try to create the same record using form view. The record is created correctly.
Revision 2015-02-19 18:01 by AugustoMauch
Description After removing from a child tab the organization, client, id, and the id of the parent tab fields, it is not possible to create new records using grid view (exception [1] is shown in server), but it's possible to create fields using form view.

[1]: b45df575 2015-02-15 12:41:41,950 [ajp-8809-4] WARN org.openbravo.dal.core.OBInterceptor - The object
OBRETCO_Prol_Product(_1423996896217) (product: 40569B74A15F487E9DD332FE7EE52B69) is detected as not new (is its id !=
null?) but it does not have a current state in the database. This can happen when the id is set but not setNewObject(true); has been
called.
b45df575 2015-02-15 12:41:41,952 [ajp-8809-4] ERROR org.hibernate.jdbc.AbstractBatcher - Exception executing batch:
org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
Revision 2015-02-19 09:49 by AugustoMauch
Description If a child tab is missing fields such as organization, client, id, or the id of the parent tab, it is not possible to create new records using grid view (exception [1] is shown in server), but it's possible to create fields using form view.

[1]: b45df575 2015-02-15 12:41:41,950 [ajp-8809-4] WARN org.openbravo.dal.core.OBInterceptor - The object
OBRETCO_Prol_Product(_1423996896217) (product: 40569B74A15F487E9DD332FE7EE52B69) is detected as not new (is its id !=
null?) but it does not have a current state in the database. This can happen when the id is set but not setNewObject(true); has been
called.
b45df575 2015-02-15 12:41:41,952 [ajp-8809-4] ERROR org.hibernate.jdbc.AbstractBatcher - Exception executing batch:
org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker