Skip to content

Shared draft link is not working for Fluent module #177

@robbyahn

Description

@robbyahn

When creating a new page in different language, the shared link won't be display the expected localised content.
Because the localised page id is same as ID from default language , the page displays english page instead of localised lang .

/vendor/silverstripe/sharedraftcontent/src/Controllers/ShareDraftController.php

/** @var SiteTree|ShareDraftContentSiteTreeExtension $page */ $page = Versioned::get_by_stage(SiteTree::class, Versioned::DRAFT) ->byID($shareToken->PageID);

How localised languages can be supported with shared draft link?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions