Doctrine 1
  1. Doctrine 1
  2. DC-695

Fixtures created badly when primary key is not autonumber

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.2.3
    • Component/s: Import/Export
    • Labels:
      None
    • Environment:
      Tested on Linux/Mysql

      Description

      When exporting data where the primary key is not an autonumber the export function will hide the field anyway, merging the keys to the text identifier of the resulting record.

      This creates two problems:

      • the original value is lost due to size limit of the record identifier
      • the database is unable to generate the primary key when data-loading.

      A fix is attached that prevents the export function of hiding the said field from the fixture.

      1. fix.diff
        0.9 kB
        Luís Eduardo Jason Santos

        Issue Links

          Activity

          Hide
          Jonathan H. Wage added a comment -

          Thanks for the issue and patch!

          Show
          Jonathan H. Wage added a comment - Thanks for the issue and patch!

            People

            • Assignee:
              Jonathan H. Wage
              Reporter:
              Luís Eduardo Jason Santos
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: