Issue Bug Closed

#88383PageLinkBuilder

Rainer Roskothen 05/17/19, 14:13 updated 03/23/20, 20:55

Description

Hello,

I don’t know if this is a bug or a missing feature or something else.
Why is the field “content_from_pid” not handled in the function “build” of the class PageLinkBuilder?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 6

  1. Rainer Roskothen changed subject Localization and PageLinkBuilder PageLinkBuilder category 05/17/19, 14:36

  2. Christian Eßl changed category 10/01/19, 10:32

  3. Benni Mack commented and changed status New Needs Feedback 01/15/20, 17:32

    Hi Rainer,

    the content_from_pid functionality is related to what should be displayed, and not where a page link should be generated. So I don’t know exactly what you need or trying to achieve, but linking to the page where content_from_pid is set, is only relevant for rendering the actual page, not linking to it or resolving a URL.

  4. Rainer Roskothen commented 01/16/20, 12:53

    Hi Benni,

    probably this bug has been fixed in an other class in Version 9.5.11 or prior. I’ve generated internal links on a page (for example with uid 96) to other content elements on the same page, in my example t3://page?uid=96#221 or t3://page?uid=96#223. On the second page with content_from_pid set to 96 all links were not rendered resp. totally missing.
    I’ve established a workaround, but cannot reproduce this behaviour with TYPO3 9.5.11 anymore. I’m very interested where this issue has been fixed (class or issue number) because I’ve got a second problem related to this issue which is definitly not a bug but essential for my website.

    Thanks for your interest and help.

  5. Benni Mack commented 01/16/20, 15:16

    The reason is that the link is stored in the record with the actual page ( – if you change it to “t3://page?uid=current#223” this work with content_from_pid.

    However, I don’t know when this was fixed, but it works for me.

  6. Susanne Moog commented and changed status Needs Feedback Closed 03/23/20, 20:55

    Closing the issue as this is working in both 9 and 10. If you think this is an error, please comment.