Review main Abandoned

57478[WIP][BUGFIX] Fix soft references when importing forms

Susi Moog CR 0 V 0 Normal +188 −0 updated 09/02/18, 15:53

Commit message

When using import/export file references to forms in content
elements (flexforms) are resolved via the soft reference index.
After importing a file, its references are replaced with
the new reference in the syntax "table:uid". As the form flexform
is not a direct file relation to a database table but a select field
instead that can also include files from extensions, these files are
referenced differently; via their combinedIdentifier.

To ensure the correct file is referenced after import, the references
need to be resolved to their combinedIdentifiers before writing data.

This was fixed by using an import soft reference processing hook in
form (see test).

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Files 3