Empty class ( no attributes ) can't be instantiate

Hi,

I want to report a bug.

This is my setup

Fresh install of xwiki 10.7 ( the bug is also present in 10.6.1 ) with standard XWiki flavor
hsqldb
tomcat 9.0.12

We found a bug where you create an empty class with no property it doesn’t appear in the list off class or in XWikiClass

How to reproduce :

  • Create a new App Within Minute “Foo” and press next step every time then finish ( do nothing )
  • Then create a new Foo page named “bar”
  • Go in the object editor of “Bar”
  • Here you will found 2 bug, first you can’t see the class Foo in the Select a class list, second bug if you press “new Code.FooClass object” you got a “Failed:Server not responding”

2

  • You can also see that if you go in XWikiClass from page index and look for “Foo” you will found nothing
  • Now go to the class editor and edit the Foo class by adding any properties.
  • Now everything works, you can see the class in the listm instantiate a New Code.FooClass object and also you can see Bar in the XWikiClass if you look for “Foo”

Unfortunately, “new user” can’t put more than 1 image in a post so I can’t give you more screenshot here

1

Thanks for reporting. However issues should be reported in our issue tracker so that they can be fixed. Would be great if you could report it in XWiki Platform - XWiki.org JIRA

Thanks!

Ok I create an account on jira then thanks !

edit : it’s done Loading...

Feel free to delete this topic