Details
-
Bug
-
Resolution: Fixed
-
Major
-
11.3
-
None
-
Integration
-
Unknown
-
N/A
-
N/A
-
Description
Replication steps:
- Login as admin
- Create a document xwiki:Foo.Bar.WebHome
- Edit in wiki mode this document, add the following snippet and save:
{{velocity}} #set($lock = $doc.getDocument().getLock($xcontext.getContext())) Locked by $lock.getUserName() {{/velocity}}
- Edit the same document with class editor to add a String property named String and save
- Edit the same document with object editor to add:
- a Foo.Bar.WebHome object
- a XWiki.ConfigurableClass object with the following properties:
- displayInSection: Custom Foo Section
- configurationClass: Foo.Bar.WebHome
- configureGlobally: checked
- Save and view the page
- Open the admin in another tab, click on "Other" section, and open "Custom Foo Section"
- Back on the previous tab, reload Foo.Bar.WebHome
Expected result:
- The page should display: Locked by XWiki.Admin
Obtained result
- The page display: Locked by $lock.getUserName()
Note that the bug doesn't reproduce if you use Foo.WebHome instead of Foo.Bar.WebHome
Attachments
Issue Links
- relates to
-
XWIKI-16431 AdministrationTest#testAddConfigurableApplicationInExistingSection is flickering
- Closed