Review TYPO3_8-7 Merged

53533[BUGFIX] Clone ObjectStorage in ObjectAccess

Susi Moog CR +2 V +2 Normal +112 −63 updated 07/17/17, 09:12

Commit message

The ObjectStorage Object passed to iterator_to_array() ends up
with the pointer at the last item, so that any ongoing iteration
through the ObjectStorage wrapping the call of ObjectAccess is
interrupted.
This patch ensures that the ObjectStorage is cloned before converted
to an array so that the original object keeps it original iteration
state.

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 2