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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013414
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2010-05-22 20:462010-05-25 16:29
ReporterpsarobeView Statuspublic 
Assigned Toshuehner 
PriorityimmediateResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision0d4d27716b2a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013414: In a community instance. Null pointer when trying to update a module

DescriptionIn community appliance or in deactivate instance in MP18, probablyu in MP17 is also present, if you try to update a module a NPE appears
Steps To Reproduce1. Being in a community or deactivate instance MP18
2. Install a non-comercial module (Openbravo Multi business partner selector)
3. Once is installed. change the minor version for example from 1.0.6 to 1.0.5
4. Scan for updates. Click "Install updates now". You will see the NPE

See attach

TagsRegression QA
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0013315 closedalostale Confusing error message on CE when installing free module depending on newer (commercial) core 

-  Notes
(0027671)
shuehner (administrator)
2010-05-24 12:49

Commit for the fix went into 13315 by accident.

Repository: erp/devel/pi
Changeset: 0d4d27716b2af89f7ebe09e207ff37c85609ad14
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon May 24 12:35:09 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0d4d27716b2af89f7ebe09e207ff37c85609ad14 [^] [^]

fixed bug 13315: prevent NPE

---
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
(0027683)
shuehner (administrator)
2010-05-24 17:44

Tested in pi/pgsql:
Tests done:

using production butler
in community instance:
- install community module: 3 digits iso country code
- update the module (decrease version locally to get an update)
- uninstall the module
- install commercial module not depending on other commercial modules
- install commercial module depending on other commercial module
- install commercial module depending on other commercial module needed to be upgraded (i.e. core)
- install community module depending on commercial module needed to be upgraded (core): original defect here
- install from obx: 3 digits iso country code (1.0.2)
- update same from obx: (before reduce version locally)
- try to update core via commercial obx file
- try to install commercial module (Easy extensible attributes) from obx file


in activated instance:
- install community module: 3 digits iso country code
- update the module (decrease version locally to get an update)
- uninstall the module
- install commercial module not depending on other commercial modules (Easy Extensible attributes)
- install commercial module depending on other commercial module (org.openbravo.module.grossamountinvoicelines.es_ES depends on English version)
- install commercial module depending on other commercial module needed to be upgraded (i.e. core) (grossamountinvoicelines after having decreased version of Core)
- install community module depending on commercial module needed to be upgraded (core) (installed selector module after having decreased version of Core)
- install/update community module via obx-file (test done with 3 digits iso country)
- install/update commercial module via obx-file (install done with Easy Extensible Attributes, upgrade done with Core)
(0027725)
psarobe (manager)
2010-05-25 16:29

Regression introduce by issue 13315

- Issue History
Date Modified Username Field Change
2010-05-22 20:46 psarobe New Issue
2010-05-22 20:46 psarobe Assigned To => shuehner
2010-05-22 20:47 psarobe Tag Attached: Regression
2010-05-22 20:47 psarobe Status new => scheduled
2010-05-22 20:56 psarobe Tag Detached: Regression
2010-05-22 20:58 psarobe Tag Attached: Regression QA
2010-05-23 21:26 psarobe Steps to Reproduce Updated View Revisions
2010-05-23 21:28 psarobe Steps to Reproduce Updated View Revisions
2010-05-24 12:48 shuehner Relationship added related to 0013315
2010-05-24 12:49 shuehner Note Added: 0027671
2010-05-24 12:49 shuehner Status scheduled => resolved
2010-05-24 12:49 shuehner Fixed in Version => pi
2010-05-24 12:49 shuehner Fixed in SCM revision => https://code.openbravo.com/erp/devel/pi/rev/0d4d27716b2a [^]
2010-05-24 12:49 shuehner Resolution open => fixed
2010-05-24 17:44 shuehner Note Added: 0027683
2010-05-24 17:44 shuehner Status resolved => closed
2010-05-25 00:01 anonymous sf_bug_id 0 => 3006658
2010-05-25 16:29 psarobe Note Added: 0027725


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker