Open rubanooo opened 3 years ago
seems related https://github.com/pimcore/pimcore/pull/7139
Thanks a lot for reporting the issue. We did not consider the issue as "Pimcore:Priority", "Pimcore:ToDo" or "Pimcore:Backlog", so we're not going to work on that anytime soon. Please create a pull request to fix the issue if this is a bug report. We'll then review it as quickly as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request. We'll then decide whether we'd accept it or not. Thanks for your understanding.
When fetching objects with WYSIWYG fields that have links to documents inside of them. The documents don't consider the current site that they are in.
I have traced the issue to
pimcore/models/Document.php:879
where it skips generating the proper link because a site can not be found.I can submit a PR if you can guide me in the right direction where I should set the site for the current request