Review main Abandoned

21094[BUGFIX] Problems on publishing complex IRRE structure

Helmut Hummel CR 0 V 0 Easy +13 −0 updated 08/27/14, 16:43

Commit message

Imagine the following IRRE parent-child structure. The important
thing is, that Price is created by different parents.

+ Hotel
\-+ Offer
| \-+ Price
\-+ Flight
  \-+ Price

On publishing this structure, most likely the last Price element
gets lost. The reason for that is simple and located in the
command map resolver, that is used to correctly publish the
single elements from outer-most parent (root) to all dependent
children (leafs). The result of the resolver is a "cmdmap" array
to be used in t3lib_TCEmain/DataHandler.

The Price object below Offer already defines the array elements
for Price which gets completed by the child of Flight later on.
The resulting "cmdmap" looks like this:

cmd[Hotel][1] = ...
cmd[Price][1] = ...
cmd[Price][2] = ...
cmd[Flight][1] = ...

However, all elements of the Price object must be process after
the Flight object, which is a relative parent in this case.

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 1