Hello,
I’m aware that the something changed in the master pages’ url mapping in version 5.7. Sadly, the new version breaks all the links that were perfectly mapped so far, when ‘Update the whole project’ is run. The bug consistently appears in all my Pinegrow projects, that – by the way – has a conventional/nothing special folder structure. Has anyone else experienced this?
The issue apply to both <img>
and <link>
tags. So far I’ve used only relative urls on the master pages, which were perfectly mapped on pages that used them. Please see a screenshot of a GitHub repo, with unwanted changes highlighted on a page that uses a master.
As a workaround I can change the relative urls on the master page to root-relative urls which don’t break links on other pages, but images linked ‘root-relatively’ aren’t displayed in editor, which is a known bug, so it isn’t a perfect solution either.
You shouldn’t make these large changes to core and how urls are mapped without notifying users first – imagine how difficult it may be for beginners to find out what went wrong with their website. As well, there was actually nothing to fix in terms of url mapping – if relative urls were used on master pages, links were perfectly mappend on pages that used them, without doing anything proactively.
I’m on Windows 10 Pro.
Kind regards,
Márton Lente
UPDATE: It seems version 5.7 ‘only’ breaks links, that aren’t within <a>
tags. I mean, links actually work, but all paths that aren’t within <a>
tags consistently break.