Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0015870 | Openbravo ERP | A. Platform | public | 2011-02-07 10:48 | 2011-03-16 00:00 | ||||||||||||||
Reporter | egoitz | ||||||||||||||||||
Assigned To | alostale | ||||||||||||||||||
Priority | high | Severity | minor | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | 2.50MP25 | ||||||||||||||||||
Target Version | 2.50MP28 | Fixed in Version | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | OBPS | ||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0015870: Having a module include in a package two times, the package module task gives an error, but packages the module | ||||||||||||||||||
Description | Having a module include in a package two times, the package module task gives an error, but packages the module. After the error the package modules should stop, and not package a module. | ||||||||||||||||||
Steps To Reproduce | -Create a new module and check as indevelopment -Creaate a new package and check as indevelopment -Go to include tab of the package. -Add the module created on the first step two time. -Export the modules: ant export.database -Package the module package. You get the following error: obx.export.config.script: [extractModule] 1 [main] ERROR org.openbravo.erpCommon.modules.ExtractModule - Error packaging module [extractModule] java.util.zip.ZipException: duplicate entry: com.openbravo.borrar-0.0.1.obx [extractModule] at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:175) [extractModule] at org.openbravo.erpCommon.modules.ExtractModule.extractPackage(ExtractModule.java:181) [extractModule] at org.openbravo.erpCommon.modules.ExtractModule.extract(ExtractModule.java:94) [extractModule] at org.openbravo.erpCommon.modules.ExtractModule.extractName(ExtractModule.java:150) [extractModule] at org.openbravo.erpCommon.modules.ExtractModuleTask.doExecute(ExtractModuleTask.java:64) [extractModule] at org.openbravo.erpCommon.modules.ExtractModuleTask.execute(ExtractModuleTask.java:44) [extractModule] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [extractModule] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) [extractModule] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [extractModule] at java.lang.reflect.Method.invoke(Method.java:597) [extractModule] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [extractModule] at org.apache.tools.ant.Task.perform(Task.java:348) [extractModule] at org.apache.tools.ant.Target.execute(Target.java:357) [extractModule] at org.apache.tools.ant.Target.performTasks(Target.java:385) [extractModule] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) [extractModule] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [extractModule] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [extractModule] at org.apache.tools.ant.Project.executeTargets(Project.java:1189) [extractModule] at org.apache.tools.ant.Main.runBuild(Main.java:758) [extractModule] at org.apache.tools.ant.Main.startAnt(Main.java:217) [extractModule] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) [extractModule] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) BUILD SUCCESSFUL | ||||||||||||||||||
Proposed Solution | Two options. -Add a validation to avoid packaging module if the module is include twice -Add a constraint to avoid including the module twice In any case, after any error the process shoud not say Build Successfull | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2011-02-07 10:48 | egoitz | New Issue | |||||||||||||||||
2011-02-07 10:48 | egoitz | Assigned To | => alostale | ||||||||||||||||
2011-02-07 10:48 | egoitz | Modules | => Core | ||||||||||||||||
2011-02-07 10:48 | egoitz | OBNetwork customer | => No | ||||||||||||||||
2011-02-07 10:50 | egoitz | Issue Monitored: networkb | |||||||||||||||||
2011-02-07 18:37 | egoitz | OBNetwork customer | No => Yes | ||||||||||||||||
2011-02-07 18:37 | egoitz | Proposed Solution updated | |||||||||||||||||
2011-02-14 08:22 | alostale | Status | new => scheduled | ||||||||||||||||
2011-03-07 09:36 | alostale | Status | scheduled => acknowledged | ||||||||||||||||
2011-03-07 09:36 | alostale | Status | acknowledged => scheduled | ||||||||||||||||
2011-03-07 09:36 | alostale | fix_in_branch | => pi | ||||||||||||||||
2011-03-07 09:46 | hgbot | Checkin | |||||||||||||||||
2011-03-07 09:46 | hgbot | Note Added: 0034594 | |||||||||||||||||
2011-03-07 09:46 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2011-03-07 09:46 | hgbot | Resolution | open => fixed | ||||||||||||||||
2011-03-07 09:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fc7ec1644bf0ac61006d8e60a9a88468f2c6989f [^] | ||||||||||||||||
2011-03-15 12:15 | marvintm | Note Added: 0034867 | |||||||||||||||||
2011-03-15 12:15 | marvintm | Status | resolved => closed | ||||||||||||||||
2011-03-16 00:00 | anonymous | sf_bug_id | 0 => 3214394 | ||||||||||||||||
2011-03-30 13:00 | alostale | Relationship added | related to 0016542 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|