-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken page / Broken link reports do not work with elemental content area #689
Comments
Haha I know @chillu just told you to move this, but any fix here is going to be an annoying kludge. Content is not just on the |
My guess is whatever fix we come up with will probably have an impact on both CMS and Elemental. I guess it depends on whether we choose to look at this as an Elemental problem first or a CMS problem first. |
My 2c would be to not save a new version of each page where a broken link is found when the report is run, if possible. |
This just means using |
One of our client's editor's behaviour was "ah, something/someone created modified versions of some pages (yellow dot in the site tree), let's bulk publish them just to be sure" — effect of running broken links report. Then they had bulk published couple pages every week and half a year later it was impossible to determine which versions/updates where legit and which were only a consequence of a weird UX of the report. |
We've got an issue to track the missing feature required to fix this here: silverstripe/silverstripe-cms#2454 |
This issue was parked for the discussion on RFC: Introduce a consistent content API to begin. However, we haven't been able to get any traction, nor dedicate time to that RFC likely given it's broad scope. If this bug isn't impact/critical, it's very close as the reports arerendered useless if content blocks are the main source of content for a site. I'm starting to think an Elemental-specific fix could be the initial way forward here? |
Or remove the report if blocks are installed perhaps. |
Seems like that RFC would need to be a Silverstripe 5 thing, I cannot see anyway we could get something like that into 4 without either: In any case it's a lot of work, agree with @brynwhyman that we should do an Elemental-specific fix here |
These reports are part of the core recipe (with the external broken links report also provided to CWP sites). I feel like if we can get elemental to workaround this issue and keep the functionality, it seems like something worth doing for now. There will be a lot of sites with both these reports and elemental installed |
Fixed in #822 Note: only fixes internal links / files, not external links which is done in the externallinks module |
I've raised a separate issue to track the external-links module concern, see: silverstripe/silverstripe-externallinks#68 I've updated the ACs to remove this report as a concern for this issue. |
Description
The "broken link" and "page with broken file" report do not include pages with elemental area containing broken links.
Steps to reproduce
Expected behavior: The elemental page should appear in the broken link report and the page with broken files report
Actual behaviour: It doesn't.
Originally created at silverstripe/silverstripe-cms#2453
ACs
Notes
Related
PRs
The text was updated successfully, but these errors were encountered: