I have a problem with internal links generated by Tiny in Plone5.
I have several results based on where i’m using Tiny.
Usually the url is created with something like this: href="…/resolveuid/some_uid"
And in this case the traverser work fine and resolveuid works as expected.
But i have and edge-case with a page set as site’s default view.
In the page’s view i have an editable tile.
Clicking on button, a modal will be open with tile’s edit form.
If i create an internal link from that modal, i have the following href value: site_id/resolveuid/some_uid.
With this value, resolveuid can’t work because the final url will be: http://my-site-url/site_id/site_id/resolveuid/some_uid
I don’t know the background of this choice, but why do we need to prepend something to resolveuid, if it works on the site root?
One simple solution could be fix this line and keep only “resolveuid/”.
This will always generate “resolveuid/some_uid” href values in internal links and could fix my problems.
Are there some reasons that i don’t know because we need to prepend something to resolveuid? If yes, is there a way to fix it for my use-case? I haven’t found the place in the code where links are created with “…/resolveuid” (or also with “…/…/…/resolveuid”) or with “site_id/”.