Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0015195 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | minor | always | 2010-11-15 21:54 | 2012-04-21 14:23 | |||
Reporter | iperdomo | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP11 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 6017d223d423 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_15 | |||
OS Version | 2.6.30-gentoo-r5 | Database version | 8.3.8 | Ant version | 1.7.1 | |||
Product Version | 2.50MP23 | SCM revision | ||||||
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 | |||||||
Tags | contrib | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0047325) alostale (viewer) 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 (viewer) 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 (administrator) 2012-04-16 17:46 |
Code reviewed and verified in pi@61bfbed9ea6e |
(0047719) migueldejuana (viewer) 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 (viewer) 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 |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |