Ticket #3032 (verification defect: Fixed)

Opened 9 months ago

Last modified 4 weeks ago

Creating a new Event Command without a name results in a stack trace rather than an error

Reported by: cgibbons Owned by: kkearney
Priority: 3 - Medium Milestone: Blue Crab
Component: All Version: 2.1.3
Keywords: Cc:
Community Patch Attached: Deployed @ Customer:
Installer: Any/All Maintenance Target:
Specific ZenPack: Maintenance Status:
Documentation Note?: Not required Regression:

Description

To recreate:
1. Navigate to Event Manager
2. Navigate to the Commands tab
3. Press the Add button but do not enter anything in the text field next to it.
4. Note stack trace.

Stack trace is:

Type: BadRequest

Value: ('Empty or invalid id specified', )

Traceback (innermost last):

  • Module ZPublisher.Publish, line 114, in publish
  • Module ZPublisher.mapply, line 88, in mapply
  • Module ZPublisher.Publish, line 40, in call_object
  • Module Products.ZenEvents.EventManagerBase, line 2126, in manage_addCommand
  • Module Products.ZenRelations.ToManyContRelationship, line 102, in _setObject
  • Module Products.ZenRelations.ToManyContRelationship, line 93, in addRelation
  • Module Products.ZenRelations.RelationshipBase, line 81, in addRelation
  • Module Products.ZenRelations.ToManyContRelationship, line 156, in _add
  • Module OFS.ObjectManager, line 63, in checkValidId

BadRequest: ('Empty or invalid id specified', )

Change History

Changed 3 months ago by bbibeault

  • reviewed set to 0

Changed 2 months ago by bbibeault

  • milestone changed from zenoss-2.3 to zenoss-2.4

Changed 4 weeks ago by kkearney

(In [11336]) * Refs #3032: catch bad input.

Changed 4 weeks ago by kkearney

  • installer set to Any/All

(In [11338]) * Fixes #3032: catch bad input. Reviewed by JP

Changed 4 weeks ago by kkearney

  • status changed from new to backlog

Changed 4 weeks ago by kkearney

  • owner changed from cgibbons to kkearney

Changed 4 weeks ago by kkearney

  • status changed from backlog to assigned

Changed 4 weeks ago by kkearney

  • status changed from assigned to verification
  • resolution set to Fixed
Note: See TracTickets for help on using tickets.