selfthinker / dokuwiki_plugin_wrap

Wrap Plugin for DokuWiki: Universal plugin which combines functionalities of many other plugins. Wrap wiki text inside containers (divs or spans) and give them a class (choose from a variety of preset classes), a width and/or a language with its associated text direction.
http://www.dokuwiki.org/plugin:wrap
GNU General Public License v2.0
41 stars 33 forks source link

Boxes do not always show up #219

Open SylvainAir opened 4 years ago

SylvainAir commented 4 years ago

Hello

I'm experiencing a strange behaviour of Wrap Plugin :

[[:wiki:projet|blablabla]]

=> When I make a preview of the page, I can see the tip box => when I save the edited page, the result page is OK, I see the tip box => now, go to another page of the wiki, and back to the previously edited page : The Tip box has vanished ! I still can the the link ( [[:wiki:projet|blablabla]] ), but no box, no back color, no bulblight.

I tried several browsers, I tried to refresh the page, I tried to include NOCACHE in the page, I tried to change the template (I reverted to default) but nothing worked so far :-(

It is really strange : if I make a dummy modification of the page and save, the page is OK, but if I leave the page and come back, box has vanished.

I tried the Note plugin (https://www.dokuwiki.org/plugin:note) and it has the same behaviour.

Is it a bug? Any suggestion welcome.

thank you

phy25 commented 4 years ago

Could you create a new file (with any content) named conf/report_e_all and try again to see if any error message shows up on the page?

mtkirchner commented 4 years ago

Running Hogfather RC3 I seem to have a similar problem on my root page. Up to now I could not reproduce, but some actions do break the wrap-ed output of the page. I will investigate further and hope for a solution.

SylvainAir commented 4 years ago

hello @phy25

Could you create a new file (with any content) named conf/report_e_all and try again to see if any error message shows up on the page?

Today my root page had the issue again : on top of page there is a box that was not displayed. I created a blank file in conf named report_e_all

I then made a dummy modification in page (remove an empty line), saved, and then box appears again. I tried browse an other page and come back to root page. This time the box is still there :-(

This bug is really strange, but I'm happy to see I'm not the only one experiencing it.

SylvainAir commented 4 years ago

Could you create a new file (with any content) named conf/report_e_all and try again to see if any error message shows up on the page?

hello again. I just had a case now and NO ERROR MESSAGE SHOW UP

mtkirchner commented 4 years ago

Still cannot find the reason. Effect is, that all class div are missing in the html output:

eg, it should be:

<div class="level1">
<div class="wrap_main wrap_centeralign wrap_center wrap_round wrap_box plugin_wrap" style="width: 100%;">
<p>
<a href="/doku.php?id=kopf:start" class="wikilink1" title="kopf:start" data-wiki-id="kopf:start">Gesamt IGF </a>
</p>
<div class="wrap_mainsub plugin_wrap">

[... left something out here ...]
</div></div>
[... left something out here ...]
</div>

but produced is:

<div class="level1">

<p>
<a href="/doku.php?id=kopf:start" class="wikilink1" title="kopf:start" data-wiki-id="kopf:start">Gesamt IGF </a>
</p>

[... left something out here ...]
</div>

When I edit the page, e.g. add one empty line, the next view is ok, but then again on reload it breaks sometimes.

SylvainAir commented 4 years ago

Hello

On my installation, I think I found a way to reproduce bug on-demand:

I hope it can be reproduced for others.

phy25 commented 4 years ago

I tried to reproduce on a clean instance with <note warning>This might disappear!</note> but it keeps showing with @SylvainAir's instructions. Could you try on a clean instance? If it's not happening anymore, could you check other plugins that you installed?

SylvainAir commented 4 years ago

@phy25 hello. I'm not sure whether or not you were talking to me. I have to say I re-installed a clean Greebo instance. The wiki I'm building is for ma company (documentation project) and I could not afford to wait for this bug to be fixed.

good luck to you for chasing this bug!

selfthinker commented 4 years ago

I wonder if this has anything to do with splitbrain/dokuwiki#3123 or splitbrain/dokuwiki#3179. DokuWiki's cache has been refactored (splitbrain/dokuwiki#2689) and people have reported other things to do with the cache that cannot be reproduced. Unfortunately it's difficult to help if it cannot be reliably reproduced.

mtkirchner commented 3 years ago

I have not seen the problem for some time now. No idea why it happened or what fixed it. Sorry for taking up your time to discuss this ghost bug. Or bug ghost?

From my side closeing the issue would be OK.