data-hub icon indicating copy to clipboard operation
data-hub copied to clipboard

Links in WYSIWYG fields are fetched incorrectly

Open rubanooo opened this issue 5 years ago • 2 comments

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

rubanooo avatar Jan 25 '21 10:01 rubanooo

seems related https://github.com/pimcore/pimcore/pull/7139

dvesh3 avatar Jan 25 '21 14:01 dvesh3

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.

github-actions[bot] avatar Jan 21 '24 07:01 github-actions[bot]