Review 9.5 Merged

63868[BUGFIX] Set correct PID for inline elements on page object

Andreas Kienast CR +2 V +2 Easy +1 −1 updated 03/24/20, 07:00

Commit message

The getDefaultUploadFolder hook must get the PID for the current
page if the inline element is located on a page object.

The logic is now as follows:
- In case of records that are stored on a page, $pid is the uid of
that page (pid of the record)
- In case of an existing page $pid is the current page uid
- In case of a new page, $pid is the relative page id as used in other
places (for example -224 for a page below page id 224) - this allows
hook implementations to react accordingly

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 1