Skip to content

Inline rendering converted into block #126

Closed
@petrenkonikita112263

Description

@petrenkonikita112263

Prerequisites
XWiki 14.10.5

Step to reproduce

  1. Install Pro Macro v.1.7
  2. Obtain trial license
  3. Go to Sandbox or any test page and place this code
aaaa {{status title="Texte1" colour="Grey"/}} bbbb {{status title="Texte2" colour="Grey"/}} cccc
  1. Save it

Result
image

  1. Upgrade Pro Macro up to v1.8.1 (same if upgrade up to 1.8 or 1.7.1)
    During this process, observe the installation log and see this line
    Can't find any existing component with class [com.xwiki.macros.userlist.internal.macro.GroupReferenceListConverter]. Ignoring it.
  2. Refresh page that was edited on step 3

Result
image

Note: if you observer the code again it will be transformed into

aaaa {{status title="Texte1" colour="Grey"/}}

(% class="greyStatus statusBox" title="Texte1" %)Texte1

bbbb {{status title="Texte2" colour="Grey"/}}

(% class="greyStatus statusBox" title="Texte2" %)Texte2

cccc

Expected Result
The update has no effect on Status macro. The layout is still the same as it was after step 4.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions