Bug 118019 - simplesurvey application (1.0) : wrong constraint in Response.pdl with CMS 6
Summary: simplesurvey application (1.0) : wrong constraint in Response.pdl with CMS 6
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise CMS
Classification: Retired
Component: other
Version: 6.0
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: 2004-03-11 07:06 UTC by durnez
Modified: 2007-04-18 17:04 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-05 17:49:12 UTC
Embargoed:


Attachments (Terms of Use)

Description durnez 2004-03-11 07:06:04 UTC
Description of problem:
I use simplesurvey version 1.0 with CMS 6.0.1.

in Response.pdl :
object type Response extends ACSObject {
......
    component Answer[1..n] answers = join ss_responses.response_id 
                                       to ss_answers.response_id;
......

constraint 1..n is wrong because answers can all be optional.

Did this issue not appear with CMS 5.2 because of constraints not
rigorously enforced in 5.2 ?

The solution is to change [1..n] by [0..n]

Version-Release number of selected component (if applicable):
simplesurvey 1.0
CMS 6.0.1 (must be the same issue with 6.0.0)

Comment 1 Jon Orris 2006-09-05 17:49:12 UTC
Closing old tickets





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