Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2347

cdbimport - can't get all relationships on the first pass

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.B2, 4.1.M1
    • None
    • None
    • 4.0.B1, MySQL 5.6

    Description

      Existing Schema:

      Table A
        id PK
      

      New Schema Additions:

      Table B
         id PK
      
      Table A_B
        a_id PK/FK
        b_id PK/FK
      

      When I run cdbimport, all looks good except relationship from A to A_B is not created, and as a result A_B is not flattened.

      When I run cdbimport for the second time without changing the schema, the missing relationship is created, but of course flattenning does not occur (as there's already an AB ObjEntity).

      Expected: that missing relationship should be picked up on the first run.

      Attachments

        Issue Links

          Activity

            People

              ntimofeev Nikita Timofeev
              andrus Andrus Adamchik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: