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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006642
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformcriticalalways2008-12-18 12:302009-04-21 11:07
ReporterjpabloaeView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision11357
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_11
OS VersionGentoo - 2.6.25Database version8.3.5Ant version1.7.0
Product VersionpiSCM revision11352 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006642: Sampledata import fails

DescriptionWhen importing the sample data it fails:

import.sample.data:
     [echo] Importing sample reference data
[importsampledata] 0 [main] ERROR org.openbravo.base.exception.OBException - org.hibernate.PropertyValueException: not-null property references a null or transient value: FinancialMgmtPaymentTerm.fixMonthOffset
[importsampledata] org.openbravo.base.exception.OBException: org.hibernate.PropertyValueException: not-null property references a null or transient value: FinancialMgmtPaymentTerm.fixMonthOffset
[importsampledata] at org.openbravo.service.db.DataImportService.insertObjectGraph(DataImportService.java:335)
[importsampledata] at org.openbravo.service.db.DataImportService.insertObjectGraph(DataImportService.java:328)
[importsampledata] at org.openbravo.service.db.DataImportService.insertObjectGraph(DataImportService.java:328)
[importsampledata] at org.openbravo.service.db.DataImportService.insertObjectGraph(DataImportService.java:328)
[importsampledata] at org.openbravo.service.db.DataImportService.importDataFromXML(DataImportService.java:231)
[importsampledata] at org.openbravo.service.db.DataImportService.importClientData(DataImportService.java:147)
[importsampledata] at org.openbravo.service.db.ImportReferenceDataTask.doExecute(ImportReferenceDataTask.java:54)
[importsampledata] at org.openbravo.dal.core.DalInitializingTask.execute(DalInitializingTask.java:121)
[importsampledata] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[importsampledata] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[importsampledata] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[importsampledata] at java.lang.reflect.Method.invoke(Method.java:597)
[importsampledata] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[importsampledata] at org.apache.tools.ant.Task.perform(Task.java:348)
[importsampledata] at org.apache.tools.ant.Target.execute(Target.java:357)
[importsampledata] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[importsampledata] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[importsampledata] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[importsampledata] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[importsampledata] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[importsampledata] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[importsampledata] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[importsampledata] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[importsampledata] at java.lang.reflect.Method.invoke(Method.java:597)
[importsampledata] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[importsampledata] at org.apache.tools.ant.Task.perform(Task.java:348)
[importsampledata] at org.apache.tools.ant.Target.execute(Target.java:357)
[importsampledata] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[importsampledata] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[importsampledata] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[importsampledata] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[importsampledata] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[importsampledata] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[importsampledata] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[importsampledata] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[importsampledata] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[importsampledata] at java.lang.reflect.Method.invoke(Method.java:597)
[importsampledata] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[importsampledata] at org.apache.tools.ant.Task.perform(Task.java:348)
[importsampledata] at org.apache.tools.ant.Target.execute(Target.java:357)
[importsampledata] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[importsampledata] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[importsampledata] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[importsampledata] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[importsampledata] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[importsampledata] at org.apache.tools.ant.Main.runBuild(Main.java:698)
[importsampledata] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[importsampledata] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[importsampledata] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[importsampledata] Caused by: org.hibernate.PropertyValueException: not-null property references a null or transient value: FinancialMgmtPaymentTerm.fixMonthOffset
[importsampledata] at org.hibernate.engine.Nullability.checkNullability(Nullability.java:72)
[importsampledata] at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:290)
[importsampledata] at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)
[importsampledata] at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
[importsampledata] at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
[importsampledata] at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
[importsampledata] at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
[importsampledata] at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
[importsampledata] at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
[importsampledata] at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
[importsampledata] at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
[importsampledata] at org.openbravo.dal.core.SessionHandler.save(SessionHandler.java:116)
[importsampledata] at org.openbravo.dal.service.OBDal.save(OBDal.java:113)
[importsampledata] at org.openbravo.service.db.DataImportService.insertObjectGraph(DataImportService.java:333)
[importsampledata] ... 48 more
[importsampledata] 205 [main] ERROR org.openbravo.base.exception.OBException - org.hibernate.PropertyValueException: not-null property references a null or transient value: FinancialMgmtPaymentTerm.fixMonthOffset

Steps To Reproduce1. check out trunk, r11352
2. configure the ERP using the setup-tool
3. run "ant install.source"
Tagsplatform1_sprint1
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0006587 closedalostale not all accesses are inserted when database is created 

-  Notes
(0011516)
svnbot (reporter)
2008-12-18 12:51

Repository: openbravo
Revision: 11357
Author: alostale
Date: 2008-12-18 12:50:49 +0100 (Thu, 18 Dec 2008)

fixed bug 0006642: Sampledata import fails

---
U trunk/referencedata/sampledata/Accounting_Test.xml
U trunk/referencedata/sampledata/BigBazaar.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=11357&sc=1 [^]

- Issue History
Date Modified Username Field Change
2008-12-18 12:30 jpabloae New Issue
2008-12-18 12:30 jpabloae Assigned To => mtaal
2008-12-18 12:30 jpabloae sf_bug_id 0 => 2444989
2008-12-18 12:30 jpabloae Regression testing => No
2008-12-18 12:37 alostale Relationship added related to 0006587
2008-12-18 12:49 alostale Assigned To mtaal => alostale
2008-12-18 12:49 alostale Tag Attached: platform1_sprint1
2008-12-18 12:51 svnbot Checkin
2008-12-18 12:51 svnbot Note Added: 0011516
2008-12-18 12:51 svnbot Status new => resolved
2008-12-18 12:51 svnbot Resolution open => fixed
2008-12-18 12:51 svnbot svn_revision => 11357
2009-04-21 11:07 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker