Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3717

"Add Object" Panel in "Objects Editor" should validate selection prior to "Add Object from this Class"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 1.8 M1
    • None
    • Add Object Panel Obj
    • Easy

    Description

      In http://VHOST/xwiki/bin/edit/XWiki/XWikiServerHost_xe_VHOSTNAME

      • Select Editor tab "Objects".
      • In "Add Object" side-panel, if you forget to select a proper option and leave "Select a Class" selected and click "Add Object from this Class" directly....
      • you're put to http://VHOST/xwiki/bin/edit/XWiki/XWikiServerHost_xe_VHOSTNAME?editor=object
      • where one notes a bogus new entry – "XWiki.---[0]:" – with no "data" just a link to "remove this object"
      • you can remove it and no harms done, but it should not have been allowed to happen in the first place.

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              nielsmayer Niels Mayer, http://nielsmayer.com
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: