Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015195 | Openbravo ERP | A. Platform | public | 2010-11-15 21:54 | 2012-04-21 14:23 |
|
Reporter | iperdomo | |
Assigned To | migueldejuana | |
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | 2.6.30-gentoo-r5 |
Product Version | 2.50MP23 | |
Target Version | | Fixed in Version | 3.0MP11 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0015195: Add trigger/validation when a module ships a dataset |
Description | When 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 |
Additional Information | |
Tags | contrib |
Relationships | |
Attached Files | |
|
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:54 | iperdomo | OBNetwork customer | => No |
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 | |
Notes |
|
|
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
|
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
---
|
|
|
|
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. |
|
|
|
Code reviewed and verified in pi@61bfbed9ea6e |
|
|
|
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. |
|
|
|
|