Ticket #3093 (closed defect: Duplicate)

Opened 8 months ago

Last modified 3 months ago

Target of "Event Detail" link in alert email has AttributeError

Reported by: ian Owned by: ian
Priority: 1 - Blocker Milestone: zenoss-2.3
Component: User Interface Version: 2.1.3
Keywords: Cc:
Community Patch Attached: Deployed @ Customer:
Installer: Maintenance Target:
Specific ZenPack: Maintenance Status:
Documentation Note?: Not required Regression:

Description

http://zenosst.zenoss.loc:8080/zport/dmd/ZenEventManager/eventFields?evid=c0a8015236b1b34cf6227ed&submitted=true

 Type: AttributeError
Value: dmd

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 Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 195, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 104, in pt_render
      <FSPageTemplate at /zport/eventFields used for /zport/dmd/ZenEventManager>
    * Module TAL.TALInterpreter, line 206, in __call__
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 477, in do_setLocal_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:ZenEvents/skins/zenevents/viewEventMacros.pt
      Line 1, Column 0
      Expression: standard:'event/getContext'
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <MySqlEventManager at /zport/dmd/ZenEventManager>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb77ac84c>,
       'here': <MySqlEventManager at /zport/dmd/ZenEventManager>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xa4e964c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb77b18ac>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xa4e964c>,
       'request': <HTTPRequest, URL=http://zenosst.zenoss.loc:8080/zport/dmd/ZenEventManager/eventFields>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/eventFields used for /zport/dmd/ZenEventManager>,
       'traverse_subpath': [],
       'user': admin}

    * Module Products.PageTemplates.Expressions, line 185, in __call__
    * Module Products.PageTemplates.Expressions, line 180, in _eval
    * Module Products.PageTemplates.Expressions, line 85, in render
    * Module Products.ZenEvents.BetterEventDetail, line 79, in getContext

AttributeError: dmd 

Change History

Changed 6 months ago by cluther

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #3417.

Changed 3 months ago by bbibeault

  • reviewed set to 1
Note: See TracTickets for help on using tickets.