Review main Abandoned

60329[BUGFIX] Do not generate links to versioned pages without proper context

Benjamin Franzke CR 0 V 0 Easy +7 −12 updated 04/30/20, 07:39

Commit message

..even if the page overlay id has been explicitly specified as target.
That is to conform the the link generation for disabled/hidden pages
where an empty link is generated as well.

This patch removes a previous boolean argument to enableFields() which
caused the pid <> -1 restriction to be skipped. This restriction is
necessary as a record with t3ver_state = VersionState::DEFAULT_STATE
points to a draft record when pid equals -1 (see doc-comment for that
constant).

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.

Issues 1

Files 3