"Location" tab not loading (in neither "Sitemap" or by going to the page itself)
Permalink
When trying to go to the location tab for a specific page type, it won't load. I'm getting a javascript error:
Filename: /concrete/js/jquery.js
I have no idea why, but this is ONLY with a specific page type. This site was on 5.7.4.2, and I updated this locally to 5.7.5.2, but that did not make any difference.... HELP! I can not change the URL, add URL's or anything and this is really mandatory.
SyntaxError: missing } after property list
Filename: /concrete/js/jquery.js
I have no idea why, but this is ONLY with a specific page type. This site was on 5.7.4.2, and I updated this locally to 5.7.5.2, but that did not make any difference.... HELP! I can not change the URL, add URL's or anything and this is really mandatory.
I also have the same issue with some pages, but only when they have not been published yet, just add a "Location" to the Page Type Form. You can change locations there. After the page has been published, the Location tab should work normally
Adding the "Location" to the composer form did not seem to do the job. I see there's an Javascript error, and after investigating, I came to this conclusion. The parent page has a single quote in the name. Somewhere in the Javascript, this name is being used. In the JS, this is in single quotes too (non escaped), which will break the javascript totally. Tiny bit of code:
So this is a core concrete5 bug!
$('#ccm-panel-detail-location-display').html(renderBreadcrumb({ parentLink: 'http://www.domain.com/some-url/parent-page', parentName: 'A string with a single (') quote in it', parentID: '203' }));
So this is a core concrete5 bug!