Uploaded image for project: 'Norma+'
  1. NOR-53

Ring Constraint .OIAL.xml error


    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SourceForge
    • Labels:
    • Sprint:


      Reported By: brian27
      Created: 2006-04-26 16:10:01
      Description: Hi,
      A more complicated NORMA model was generating highly
      truncated .sql files using ORMCustomTool. I pared
      down the model to try to isolate the cause. I think
      this very basic test model's ring contstraint is the
      cause of the problem. It generates an .OIAL file with
      the following error: Warning 1 There is a
      duplicate key sequence 'Patriarch_Patriarch_name' for
      the 'http://schemas.orm.net/OIAL:conceptTypeChildKey'
      key or unique identity constraint.
      I don't believe there is a flaw in the way I used
      the ring constraint, and there was no error in the
      list for the model file before mapping.
      I'm trying to attach the .orm file for you to test.
      If that doesn't work, here's the gist of it:
      Entity type: Patriarch (Name,
      Binary fact type - reading: "fathers" with UC
      over 2nd role, both roles connected to Patriarch,
      Ring Type as AsymetricIntransitive applied to
      roles 1 and 2,
      Objectified as "Issue",
      Issue playing unary fact type.

      Please let me know if the file attaches for you.
      Also, if there is a work-around; I do like ring
      constraints. BRN..


          Issue links



              • Assignee:
                Lewis Lewis Cook
                removed Brian Nalewajek (Inactive)
              • Watchers:
                3 Start watching this issue


                • Created: