pagequery icon indicating copy to clipboard operation
pagequery copied to clipboard

pagequery breaks data plugin

Open tmo26 opened this issue 8 years ago • 4 comments

Dokuwiki: 2016-06-26a "Elenor of Tsort" and prior releases pagequery plugin: 2014-11-09 (6cae014 ) data plugin: 2016-03-11 and prior versions

Related issue: https://github.com/splitbrain/dokuwiki-plugin-data/issues/187 (Double pid for same dataentry)

Symptoms: Double datasets are created in the data plugin database, although no dataentry has been edited.

Root cause: pagequery plugin (possibly cache related)

Solution: Deactivate pagequery plugin (of course, this is no real solution, since the pagequery plugin is a very useful plugin that must be available)

  • With deactivated pagequery plugin, no doubles occur (at least not within 12h)
  • With activated pagequery plugin and calling a pagequery that runs over all dataentries (https://wiki.openwrt.org/toh/hwdata/index_complete), the doubles occur immediately. This is repeatable.

Request: Fix the pagequery plugin, so that it is compatible with the data plugin.

Remark: https://www.dokuwiki.org/plugin:pagequery shows 2015-03-19 18:40 as last update of the plugin, but when you install the plugin via dokuwikis extension manager, you will end up with version 2014-11-09.

tmo26 avatar Dec 09 '16 18:12 tmo26

New information to further encircle the issue:

  • using pagequery with the fulltext option doesn't produce any doubles
  • using pagequery with namespace search with * as the query instantly produces doubles

Looking at the source code of the pagequery plugin I see that fulltext and non-fulltext searches are handled differently. Maybe this is the key?

tmo26 avatar Dec 14 '16 15:12 tmo26

This error is getting annoying... We moved the OpenWrt wiki to a new server, starting fresh from scratch. Only recently we implemented >200 pages which make use of the pagequery plugin, and it still breaks the dataplugin.

The workaround with adding "fulltext" search does work, but adds complexity to the usage, and oh so easily one forgets about the need for this workaround (I forgot and had to rework all >200 pages.. sigh).

Is this plugin still maintained? Will there be a fix in the near future? If not, I would need to switch to nspages or catlist plugins, but I would hate to lose pagequerys functionality, which can not be found in other plugins.

Your help would really be appreciated!

tmo26 avatar Mar 30 '18 13:03 tmo26

I can understand your frustration! I'm sorry to tell you that I stopped using Dokuwiki about three years ago and no longer maintain the plugin, so you may have to jump ship to other plugins.

On 30 March 2018 at 15:08, tmo26 [email protected] wrote:

This error is getting annoying... We moved the OpenWrt wiki to a new server, starting fresh from scratch. Only recently we implemented >200 pages which make use of the pagequery plugin, and it still breaks the dataplugin.

The workaround with adding "fulltext" search does work, but adds complexity to the usage, and oh so easily one forgets about the need for this workaround (I forgot and had to rework all >200 pages.. sigh).

Is this plugin still maintained? Will there be a fix in the near future? If not, I would need to switch to nspages or catlist plugins, but I would hate to lose pagequerys functionality, which can not be found in other plugins.

Your help would really be appreciated!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MrBertie/pagequery/issues/46#issuecomment-377520633, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUr6JFJkLU3-M6Sdp5e3gIKKCNCcAkxks5tji5NgaJpZM4LJNiP .

MrBertie avatar Mar 30 '18 13:03 MrBertie

Sad to hear that, but thank you anyways for your quick reply!

Since you no longer maintain pagequery, could you add a note to https://www.dokuwiki.org/plugin:pagequery saying so, and perhaps search for a new maintainer? Maybe someone is willing to commence your great work.

Von: MrBertie [mailto:[email protected]] Gesendet: Freitag, 30. März 2018 15:29 An: MrBertie/pagequery Cc: tmo26; Author Betreff: Re: [MrBertie/pagequery] pagequery breaks data plugin (#46)

I can understand your frustration! I'm sorry to tell you that I stopped using Dokuwiki about three years ago and no longer maintain the plugin, so you may have to jump ship to other plugins.

On 30 March 2018 at 15:08, tmo26 [email protected] wrote:

This error is getting annoying... We moved the OpenWrt wiki to a new server, starting fresh from scratch. Only recently we implemented >200 pages which make use of the pagequery plugin, and it still breaks the dataplugin.

The workaround with adding "fulltext" search does work, but adds complexity to the usage, and oh so easily one forgets about the need for this workaround (I forgot and had to rework all >200 pages.. sigh).

Is this plugin still maintained? Will there be a fix in the near future? If not, I would need to switch to nspages or catlist plugins, but I would hate to lose pagequerys functionality, which can not be found in other plugins.

Your help would really be appreciated!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MrBertie/pagequery/issues/46#issuecomment-377520633, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUr6JFJkLU3-M6Sdp5e3gIKKCNCcAkxks5tji5NgaJpZM4LJNiP .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MrBertie/pagequery/issues/46#issuecomment-377524158 , or mute the thread https://github.com/notifications/unsubscribe-auth/ALvSb7sQrOZ85fNJtWqqIkFy3SR4P2cOks5tjjMWgaJpZM4LJNiP .Das Bild wurde vom Absender entfernt.

tmo26 avatar Mar 30 '18 13:03 tmo26