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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015195
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminoralways2010-11-15 21:542012-04-21 14:23
ReporteriperdomoView Statuspublic 
Assigned Tomigueldejuana 
PriorityurgentResolutionfixedFixed in Version3.0MP11
StatusclosedFix in branchFixed in SCM revision6017d223d423
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_15
OS Version2.6.30-gentoo-r5Database version8.3.8Ant version1.7.1
Product Version2.50MP23SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015195: Add trigger/validation when a module ships a dataset

DescriptionWhen a module ships (adds) a dataset, the 'hasReferenceData' check should automatically set to 'Y', if not the dataset will not be applied.
Steps To Reproduce* Create a module
* Adds a dataset at System level
* DON'T check the 'Has reference data'
* Export/package the module
* Install the module in other instance, the dataset is not applied
Proposed Solution* Add a validation, trigger to the module that has a reference data, and has not the 'has reference data' check
Tagscontrib
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0047325)
alostale (manager)
2012-04-03 08:30

This validation shuould be done when packaging the module. It should warn in case the moudle has reference data and it is not marked as so or in case it is marked and it doesn't contain reference data.
(0047589)
hgbot (developer)
2012-04-16 16:10

Repository: erp/devel/pi
Changeset: 6017d223d4234ffd46475abcd077198f8b209581
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Apr 16 16:08:20 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6017d223d4234ffd46475abcd077198f8b209581 [^]

Fixed issue 15195: New module validation when packaging for 'has reference data'
This validation has been done when packaging the module. It warn in case the module has reference data and it is not marked as so or in case it is marked and it doesn't contain reference data.

---
M src/org/openbravo/service/system/ModuleValidator.java
---
(0047590)
migueldejuana (developer)
2012-04-16 16:15

Test plan:
* Create a module
* Adds a dataset at System level
* DON'T check the 'Has reference data'
* Export/package the module
* It should show a warning: Module 'moduleName' has Dataset associated but it has not been marked as 'has reference data'
* Remove previously added dataset
* check the 'Has reference data'
* Export/package the module
* It should show a warning: Module 'moduleName' has been marked as 'has reference data' but it has no Dataset associated



It should be no risky.
(0047595)
AugustoMauch (manager)
2012-04-16 17:46

Code reviewed and verified in pi@61bfbed9ea6e
(0047719)
migueldejuana (developer)
2012-04-18 18:01

changeset: 16098:61bfbed9ea6e
user: Miguel de Juana <miguel.dejuana@openbravo.com>
date: Mon Apr 16 16:46:16 2012 +0200
summary: Related to 15195: Fixed typo.
(0047812)
hudsonbot (developer)
2012-04-21 14:23

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2eb57286c1fc [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2010-11-15 21:54 iperdomo New Issue
2010-11-15 21:54 iperdomo Assigned To => alostale
2010-11-15 21:56 shuehner Issue Monitored: shuehner
2010-11-22 08:35 alostale Status new => scheduled
2011-04-01 18:11 alostale Tag Attached: contrib
2012-04-03 08:29 alostale Assigned To alostale => migueldejuana
2012-04-03 08:30 alostale Note Added: 0047325
2012-04-03 08:33 alostale Type defect => feature request
2012-04-16 16:10 hgbot Checkin
2012-04-16 16:10 hgbot Note Added: 0047589
2012-04-16 16:10 hgbot Status scheduled => resolved
2012-04-16 16:10 hgbot Resolution open => fixed
2012-04-16 16:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6017d223d4234ffd46475abcd077198f8b209581 [^]
2012-04-16 16:15 migueldejuana Note Added: 0047590
2012-04-16 17:46 AugustoMauch Note Added: 0047595
2012-04-16 17:46 AugustoMauch Status resolved => closed
2012-04-16 17:46 AugustoMauch Fixed in Version => 3.0MP11
2012-04-18 18:01 migueldejuana Note Added: 0047719
2012-04-21 14:23 hudsonbot Checkin
2012-04-21 14:23 hudsonbot Note Added: 0047812


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker