Skip to content

Bug: bpmnio plugin breaks DokuWiki preview and throws JavaScript error #63

@doobidoo

Description

@doobidoo

Title: Bug: bpmnio plugin breaks DokuWiki preview and throws JavaScript error

Description:

When the bpmnio plugin is enabled, the "Preview" button in the DokuWiki editor disappears, and a JavaScript error is logged in the browser console on every page load.

Error Message:

It looks like you're using a minified copy of the development build of Inferno. When deploying Inferno apps to production, make sure to use the production build which skips development warnings and is faster. See http://infernojs.org for more details.

Steps to Reproduce:

  1. Install and enable the bpmnio plugin in DokuWiki.
  2. Edit any DokuWiki page.
  3. Observe that the "Preview" button is missing.
  4. Open the browser's developer console and observe the JavaScript error mentioned above.

Cause:

The plugin appears to be using a development build of the Inferno.js library, which is causing conflicts with DokuWiki's JavaScript and breaking the preview functionality.

Workaround:

Disabling the bpmnio plugin resolves the issue.

Suggested Fix:

The plugin should be updated to use a production build of Inferno.js. This will prevent the development warnings and resolve the conflict with DokuWiki.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions