Review TYPO3_6-2 Merged

44601[BUGFIX] Empty array not encoded as empty XML tag

Stefan Neufeind CR +2 V +2 Hard +246 −479 updated 11/15/15, 11:22

Commit message

When encoding an empty array, an empty line with indentation was
created. If the <el> tag had a proper type="array" attribute, it could
still be decoded to an array again. If not, it was decoded to a string,
leading to errors e.g. when trying to traverse it.

The fix is to include an empty element now, which will be decoded to
an empty array again then.

Review

  • Code review CR +2

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

  • Verified V +2

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

Issues 1

Files 21

Show 1 more file