Ticket #2961 (new defect)

Opened 9 months ago

Last modified 2 months ago

here.checkRemotePerm('Define Commands View') should take in a context

Reported by: marc Owned by: marc
Priority: 3 - Medium Milestone: Blue Crab
Component: ZenModel Version: 2.1.72
Keywords: Cc:
Community Patch Attached: Deployed @ Customer:
Installer: Maintenance Target:
Specific ZenPack: Maintenance Status:
Documentation Note?: Not required Regression:

Description

Type: TypeError
Value: checkRemotePerm() takes exactly 3 arguments (2 given)
URL: /zport/dmd/dataRootManage
Revision: 8813
Version: 2.1.73
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/dataRootManage used for /zport/dmd>

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 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
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 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 734, in do_defineSlot
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 734, in do_defineSlot
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
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 676, in do_condition
Module Products.PageTemplates.TALES, line 221, in evaluate

URL: file:ZenModel/skins/zenmodel/userCommandsMacros.pt
Line 6, Column 0
Expression: <PythonExpr here.checkRemotePerm('Define Commands View')>
Names:{'container': <ZentinelPortal at /zport>,
'context': <DataRoot at /zport/dmd>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb76f390c>,
'here': <DataRoot at /zport/dmd>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x9712c4c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb76f896c>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x9712c4c>,
'request': <HTTPRequest, URL=http://loganalyzer.atqwest.com:8080/zport/dmd/dataRootManage>,
'root': <Application at >,
'template': <FSPageTemplate at /zport/dataRootManage used for /zport/dmd>,
'traverse_subpath': [],
'user': admin}

Module Products.PageTemplates.ZRPythonExpr, line 47, in call

traceback_info: here.checkRemotePerm('Define Commands View')

Module Python expression "here.checkRemotePerm('Define Commands View')", line 1, in <expression>

TypeError: checkRemotePerm() takes exactly 3 arguments (2 given)

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
Note: See TracTickets for help on using tickets.