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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015203
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajoralways2010-11-16 15:302011-11-23 10:39
ReporterrafarodaView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015203: Copy tab fields: null value in column "name" violates not-null constraint

Description"null value in column "name" violates not-null constraint" appears when trying to copy tab fields of a Spanish module.
Steps To ReproduceReproduced in http://live.builds.openbravo.com/erp_devel_main-full-pgsql/ [^] logged as System Administrator:

1) Create a module header:
* Name: Pedido venta express
* Java package: com.openbravo.order.express
* Version: 0.0.1
* Type = Module
* Translation Required = Y
* Language = Spanish (Spain)

2) Set the dependency of this module to Core.

3) Set a Data Package as com.openbravo.order.express.data

4) Set a DB Prefix as ORDEXP

5) Create a new window:
* Name = Pedido venta express

6) Create a tab:
* Name = Cabecera
* Table = C_Order

7) Click on Copy Tab Fields button and select Header - Sales Order, the click on OK.
    
Error:
null value in column "name" violates not-null constraint
Proposed Solution1) Workaround 1:

To workaround this issue, use the feature Copy Window Tabs at Window level, selecting Sales Order window.


2) Workaround 2:

To workaround this issue, set module's language to English (USA) and then click on Copy Tab Fields button and select Header - Sales Order, the click on OK.

Once fields are copied, set back module's language to Spanish (Spain) and click on Synchronize Terminology.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0016067 closedalostale Copy Tab Fields does not work when creating new tabs in windows 
related to defect 0016232 closedalostale Copy Window Tabs does not work when creating new windows 

-  Notes
(0033002)
hgbot (developer)
2010-12-02 12:17

Repository: erp/devel/pi
Changeset: 5f5c400c81617f9512095c29558cedecc4d365db
Author: Valery Lezhebokov <valery.lezhebokov <at> gmail.com>
Date: Wed Dec 01 09:07:16 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5f5c400c81617f9512095c29558cedecc4d365db [^]

Issue 15203: Copy tab fields: null value in column "name" violates not-null constraint
Change DB procedures to copy fields and translations in a bit smarter way

---
M src-db/database/model/functions/AD_TAB_COPY.xml
M src-db/database/model/functions/AD_WINDOW_COPY.xml
---
(0033014)
hudsonbot (developer)
2010-12-02 16:49

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/5f5c400c8161 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/dc020fc4156f [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19064.obx [^]

- Issue History
Date Modified Username Field Change
2010-11-16 15:30 rafaroda New Issue
2010-11-16 15:30 rafaroda Assigned To => alostale
2010-11-16 15:30 rafaroda Issue Monitored: rafaroda
2010-11-16 15:32 rafaroda Proposed Solution updated
2010-11-22 08:35 alostale Status new => scheduled
2010-11-23 08:48 alostale Assigned To alostale => bemaill
2010-12-02 12:17 hgbot Checkin
2010-12-02 12:17 hgbot Note Added: 0033002
2010-12-02 16:49 hudsonbot Checkin
2010-12-02 16:49 hudsonbot Note Added: 0033014
2011-03-14 08:03 alostale Relationship added related to 0016067
2011-03-14 08:03 alostale Relationship added related to 0016232
2011-03-14 08:04 alostale Note Added: 0034775
2011-03-14 08:04 alostale Note Deleted: 0034775
2011-10-31 11:00 psarobe Assigned To bemaill => alostale
2011-11-23 10:39 alostale Status scheduled => closed
2011-11-23 10:39 alostale Resolution open => out of date


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker