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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037491
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Resource and Reservation Management for Contractsmajorhave not tried2017-12-15 11:542017-12-26 12:50
ReporterngarciaView Statuspublic 
Assigned Tomarkmm82 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionee8fc98c5221
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Tovmromanos
Regression introduced in release
Summary

0037491: Cannot compile environment if Resource and Reservation Management for Contracts is installed

DescriptionCannot compile environment if Resource and Reservation Management for Contracts is installed

An element was removed from Resource And Reservations Management Module
Steps To ReproduceAs system admin role:
   Go to Module Management window and install Resource and Reservation Management for Contracts Template

Check the following error message is shown when compiling:

SQL Command failed with: ERROR: insert or update on table "obuiapp_parameter" violates foreign key constraint "obuiapp_parameter_ad_element"
Detail: Key (ad_element_id)=(1459F00FC4404DED9A523FC46F80214E) is not present in table "ad_element".
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0033464 closedSanjota Openbravo ERP Modules Automation. Modules fixes 

-  Notes
(0101254)
hgbot (developer)
2017-12-26 12:48

Repository: erp/pmods/org.openbravo.module.resources.contract
Changeset: ee8fc98c5221b982e6b4d2bd1334614a09425c78
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Dec 26 12:44:40 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.resources.contract/rev/ee8fc98c5221b982e6b4d2bd1334614a09425c78 [^]

Fixed bug 37491: compilation issue due to missing ad_element_id

As part of solution of issue 33464, an element was removed from Resource And Reservations
Management Module without take into account it was used on Resource and Reservation Management
for Contracts. It causes that when this last one is installed then it is not
possible to compile the system and a reference error is shown.

To fix that, the removed element was added again, but this time to the org.openbravo.module.resources.contract module, but it's the only one that really uses it.

---
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MODULE.xml
---
(0101255)
vmromanos (manager)
2017-12-26 12:50

Code review + testing OK

Fixed in Resource and Reservation Management for Contracts 1.1.100 or above

- Issue History
Date Modified Username Field Change
2017-12-15 11:54 ngarcia New Issue
2017-12-15 11:54 ngarcia Assigned To => Triage Finance
2017-12-15 11:54 ngarcia Issue Monitored: networkb
2017-12-15 12:02 ngarcia Relationship added caused by 0033464
2017-12-15 12:03 ngarcia Resolution time => 1483570800
2017-12-15 12:04 ngarcia Description Updated View Revisions
2017-12-15 12:33 dmiguelez Resolution time 1483570800 => 1515106800
2017-12-15 12:35 dmiguelez Assigned To Triage Finance => markmm82
2017-12-15 15:11 markmm82 Status new => scheduled
2017-12-26 12:48 hgbot Checkin
2017-12-26 12:48 hgbot Note Added: 0101254
2017-12-26 12:48 hgbot Status scheduled => resolved
2017-12-26 12:48 hgbot Resolution open => fixed
2017-12-26 12:48 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.resources.contract/rev/ee8fc98c5221b982e6b4d2bd1334614a09425c78 [^]
2017-12-26 12:50 vmromanos Review Assigned To => vmromanos
2017-12-26 12:50 vmromanos Note Added: 0101255
2017-12-26 12:50 vmromanos Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker