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

Display a warning message instead of stack trace when no classid parameter was sent in a ObjectRemove action

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.3 RC1
    • 1.1
    • {Unused} Core
    • None

    Description

      The ObjectRemoveForm assumes there will always be a correct number passed as the classid request parameter. If somebody introduced a wrong URL, either missing or having a bad value for that parameter, then a stack trace is displayed. The actual result would be to display a notice message, saying that no object was selected.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: