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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.3 RC1
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: