Bug 108126 - Data model dependencies should be automatically resolved from the PDL metadata
Summary: Data model dependencies should be automatically resolved from the PDL metadata
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: other
Version: nightly
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-10-27 20:31 UTC by Daniel Berrangé
Modified: 2007-04-18 16:58 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-09-02 17:25:25 UTC
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2003-10-27 20:31:55 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.9 (X11; Linux i686; U;) Gecko/20030314

Description of problem:
The PDL metadata used by the DDL generator contains sufficient information for
validating the data model dependancies between applications. Requiring the
developer to add 

<requires>
  <table>
</requires>

and

<provides>
  <table>
</provides>

declaration is duplicating this information from the PDL & will never be  filled
in to a satisfactory level of correctness. It is also unlikely that a developer
will remember to update this info when changing PDL.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Leave out the 'cms_items' dependancy from ccm-cms-types-address.load
2. Load the ccm-cms-types-address application without first loading ccm-cms
3.
    

Actual Results:  DB error about missing table target for foreign key

Expected Results:  Loader immediately reports missing dependencies without
attempting to load SQL.

Additional info:

Comment 1 Daniel Berrangé 2006-09-02 17:25:25 UTC
Closing old tickets



Note You need to log in before you can comment on or make changes to this bug.