that means that the class editor should really show a warning about the class not existing yet when I have used /xwiki/bin/edit/XWiki/ClassSheetBinding?editor=class shall I open an issue? paul Le 20 janv. 2014 à 00:01, Marius Dumitru Florea <[email protected]> a écrit :
Rationale:
- don't trust marker classes (maybe they don't exist?).
They don't exist. You cannot create an XClass with no properties.
- wish that the object editor indicates it, when an object is presented whose class is missing
I agree. The object editor just shows them as deprecated I think, because it doesn't find them in the class as the class is an empty document as return by $xwiki.getDocument() when a document doesn't exist.
, maybe also when the class-editor is used for the first time on a given page.