dokuwiki-plugin-struct icon indicating copy to clipboard operation
dokuwiki-plugin-struct copied to clipboard

Struct data disappears on wiki page.

Open Ragos81 opened this issue 7 months ago • 2 comments

Issue Description

Occasionally I stumble over a page where I'm sure that I had added some struct data before, but it doesn't show anything on top of the page. Image

On another page, where I use data aggregation, all the "missing" data shows up. Image

When I click on edit on the page with the "missing" data, I see that the data is entered. After clicking on save -without any further changes- , the data appears on top of the page again. Image

So far I couldn't see any pattern when or why the data disappears. First I thought it disappears when I update the linked pdf(s), but it seem not to be the case.

I'm not expecting a big investigation (even tough I'm happy if this behavior can be fixed), but want to make aware of it so everyone can keep an eye on it.

Ragos81 avatar May 07 '25 07:05 Ragos81

The issue is most probably caused by an rendering issue. For some reason, the page is rendered without the page data. This state is then cached. When you resave the page you also refresh the render cache of the page and fix the issue.

The question is under which circumstances does a rendering process fail to attach the page data? Are there any plugins that might trigger a rendering outside of a normal page view?

splitbrain avatar May 07 '25 09:05 splitbrain

@splitbrain Thanks for your answer and sorry for the late reply.

Unfortunately I'm no expert in these things. I have no idea how the page rendering works or which plugin influence it. As I wrote before, so far I couldn't identify any pattern or circumstance which caused the rendering issues. Unfortunately I have a lot of plugins installed, but the page itself does not contain any syntax to use any of them (I do have a video embedded on the specific page from the screenshots above, but other effected pages don't). The wiki itself is using the standard dokuwiki template, if this is important somehow.

Is there any easy way to export a list of installed plugins?

Ragos81 avatar Jun 05 '25 01:06 Ragos81