Skip to content

Data inferral job can drop the content of macros that do not support xwiki syntax #361

@trrenty

Description

@trrenty

Describe the bug
When running the data inferral job from the admin section, if the page contains a macro that supports only plain text, it's content will be deleted.

Steps to reproduce
Steps to reproduce the problematic behavior:

  1. You need to have installed the Pro Macro Confluence Bridges application (or use a different macro than confluence_tip that supports only plain text as its content.
  2. Create a page containing the following content:
{{confluence_tip title="hello"}}
Content
{{/confluence_tip}}

{{task reference="/Tasks/Task_1" status="Done" }}
Test
{{/task}}
  1. Go to the admin section and trigger the inferring job for the page
  2. Go back to the page.

Expected behavior
The content of confluence_tip macro remains unchanged.

Actual behavior
The content of the confluence_tip macro is deleted.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions