Skip to content
This repository was archived by the owner on Jun 14, 2023. It is now read-only.
This repository was archived by the owner on Jun 14, 2023. It is now read-only.

page tree not expandable #15

@hannesbochmann

Description

@hannesbochmann

The page tree of custom linkhandler objects (like tt_news) is no longer expandable since version 2.0.4. In version 2.0.3 everything worked fine.
This is caused by the changes in RecordTree::PM_ATagWrap(). The following if statement was added, leading to the problem:

        if (!$this->thisScript) {
            return $icon;
        }

Is this check necessary at all? If I remove it everything seems to work like expected. If it's necessary maybe RecordTree::determineScriptUrl() needs to be called before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions