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

View Revisions: Issue #26286 All Revisions ] Back to Issue ]
Summary 0026286: Unexpected behaviour when same column name exists in header and lines tab
Revision 2014-04-15 17:49 by naiaramartinez
Steps To Reproduce Go to 'windows, tabs a fields' and select Commisions window and commisions lines tab. Select 'C_bPARNER_ID' field and uncheck show in grid view.

Go to tables and columns and select C_Commission table.
select c_bpartner_id column and check as stored in session.

Login as Group admin
create new commision and select a business partner.

Create new commission line and leave bp in blank.
Refresh 'commission line' and notice that bp is now populated with the same BP that is in the header.
Modify any field (that is not the BP) in 'Commission line' tab and save it. Notice that the following error is raised: 'Saving failed. There is a constraint defined that was not satisfied. Please check the data entered'. So, the data in BP has to be removed in order to be able to save the record. If you refresh the tab, check that BP has again the same value that in the header. Check the database and the column is null.
Revision 2014-04-15 16:34 by naiaramartinez
Steps To Reproduce Note: contract window (c_project table) has c_bpartner_id column. Invoice Plan Master tab, that is a subtab for contract window, uses obscntr_invoiceplan_templ table that has c_bpartner_id column.


-Create new contract.
-Create new invoice plan master (leave BillTo in blank)
-Check in the database obscntr_invoiceplan_templ.c_bpartner_id that is null.
-Refresh 'invoice plan master' and check that BP is now populated with the same BP that is in the header.
-Modify any field (taht is not the BP) in 'Invoice Plan Master' tab and save it.

Notice that the following error is raised: 'Saving failed. There is a constraint defined that was not satisfied. Please check the data entered'.
So, the data in BP has to be removed in order to be able to save the record. If you refresh the tab, notice that BP has again the same value that in the header. Check the database and notice the column is null.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker