splitbrain / dokuwiki-plugin-data

Add and query structured data in your DokuWiki
http://www.dokuwiki.org/plugin:data
GNU General Public License v2.0
50 stars 34 forks source link

Bug: Some column names breaks the whole page rendering #212

Open strawhatgami opened 6 years ago

strawhatgami commented 6 years ago

Description

A PHP error generated by the plugin breaks the global PHP execution. So the article url renders a blank page - and the edition url too, that forbid the user to understand what happened, and to edit the article to correct its error by the usual way. The way to recover is to edit the article text file in /data/pages/...

To reproduce

---- dataentry somename ---- p_d : some value p_s : some value ----

The issue can probably be fixed with a few lines of bugfix, but IMHO those kind of unhandled errors should be prevented in the future by some kind of global try/catch (that may generate a generic error message to the user?), to avoid breaking the whole page and allow the user to edit its error with the dokuwiki interface.

Some data