[Nuxeo-tickets] [Nuxeo Repository] #1691: subscription crash

Nuxeo Repository trac at nuxeo.com
Tue Jul 4 18:49:42 CEST 2006


#1691: subscription crash
------------------------------+---------------------------------------------
 Reporter:  tracguest         |       Owner:  trac     
     Type:  defect            |      Status:  new      
 Priority:  P2                |   Milestone:  CPS 3.4.2
Component:  CPSSubscriptions  |     Version:  3.4.1    
 Severity:  major             |    Keywords:           
------------------------------+---------------------------------------------
 Tried to add subscriptions (document creation and revision creation for
 member) to a workspace folder. Got the following traceback:

 Error Type:     TypeError
 Error Value:

 _getEntry() takes exactly 2 arguments (3 given)

 Traceback:

 Traceback (innermost last):

     * Module ZPublisher.Publish, line 121, in publish
     * Module Zope2.App.startup, line 240, in commit
     * Module transaction._manager, line 96, in commit
     * Module Products.CPSCompat.PatchZODBTransaction, line 169, in commit
     * Module transaction._transaction, line 421, in _callBeforeCommitHooks
     * Module Products.CPSCore.commithooks, line 229, in __call__
     * Module Products.CPSSubscriptions.EventSubscriptionsManager, line
 151, in __call__
     * Module Products.CPSSubscriptions.SubscriptionsTool, line 777, in
 notify_processed_event
     * Module Products.CPSSubscriptions.Subscription, line 177, in
 sendEvent
     * Module Products.CPSSubscriptions.RecipientsRules, line 851, in
 getRecipients
     * Module Products.CPSUserFolder.CPSUserFolder, line 548, in
 getGroupById

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

 form
 comments        ''
 cookies
 __ac_name       'user'
 _ZopeId '80174578A2aWteyxjog'
 lazy items
 SESSION <bound method SessionDataManager.getSessionData of
 <SessionDataManager at /session_data_manager>>
 other
 VIRTUAL_URL_PARTS       ('https://foo.bar.org',
 'portal/portal/workspaces/projektmanagement/action-list-vom-
 meeting/content_checkout_draft')
 VIRTUAL_URL
 'https://foo.bar.org/portal/portal/workspaces/projektmanagement/action-
 list-vom-meeting/content_checkout_draft'
 URL5    'https://foo.bar.org/portal'
 URL4    'https://foo.bar.org/portal/portal'
 URL6    'https://foo.bar.org'
 URL0    'https://foo.bar.org/portal/portal/workspaces/projektmanagement
 /action-list-vom-meeting/content_checkout_draft'
 URL3    'https://foo.bar.org/portal/portal/workspaces'
 URL2    'https://foo.bar.org/portal/portal/workspaces/projektmanagement'
 AcceptCharset   <Products.Localizer.Accept.AcceptCharset instance at
 0x48633ecc>
 AUTHENTICATION_PATH     'portal/portal'
 _oai_cache      {1212806892: <Products.CMFCore.ActionInformation.oai
 instance at 0x46c1c76c>}
 AUTHENTICATED_USER      <CPSUser user>
 USER_PREF_LANGUAGES     <Products.Localizer.Accept.AcceptLanguage instance
 at 0x4882d04c>
 SERVER_URL      'https://foo.bar.org'
 comments        ''
 traverse_subpath        []
 cpsskins_base_url       '/portal/'
 cpsskins_url
 'https://foo.bar.org/portal/portal/workspaces/projektmanagement/action-
 list-vom-meeting/content_checkout_draft'
 cpsskins_effective_theme_page   ('smartProjectPortal', 'Default')
 ACTUAL_URL
 'https://foo.bar.org/portal/portal/workspaces/projektmanagement/action-
 list-vom-meeting/content_checkout_draft'
 URL     'https://foo.bar.org/portal/portal/workspaces/projektmanagement
 /action-list-vom-meeting/content_checkout_draft'
 cpsskins_cmfactions     {'object': [{'category': 'object', 'available':
 True, 'title': 'action_view', 'url':
 'https://foo.bar.org/portal/workspaces/projektmanagement/action-list-vom-
 meeting/cpsdocument_view', 'name': 'action_view', 'visible': True,
 'allowed': True, 'id': 'view', 'permissions': (u'View',)}, {'category':
 'object', 'available': True, 'title': 'action_metadata', 'url':
 'https://foo.bar.org/portal/workspaces/projektmanagement/action-list-vom-
 meeting/cpsdocument_metadata', 'name': 'action_metadata', 'visible': True,
 'allowed': True, 'id': 'metadata', 'permissions': (u'View',)},
 {'category': 'object', 'available': True, 'title':
 'action_notify_content', 'url':
 'https://foo.bar.org/portal/workspaces/projektmanagement/action-list-vom-
 meeting/content_notify_email_form', 'name': 'action_notify_content',
 'visible': True, 'allowed': True, 'id': 'notify_content', 'permissions':
 ('Can Notify Content',)}], 'workflow': [{'category': 'workflow',
 'available': True, 'title': 'action_status_history', 'url':
 'https://foo.bar.org/portal/workspaces/projektmanagement/action-list-vom-
 meeting/content_status_history', 'name': 'action_status_history',
 'visible': True, 'allowed': True, 'id': 'status_history', 'permissions':
 (u'View',)}], 'global': [{'category': 'global', 'available': True,
 'title': 'action_manage_vocabularies', 'url':
 'https://foo.bar.org/portal/vocabularies_manage_form', 'name':
 'action_manage_vocabularies', 'visible': True, 'allowed': True, 'id':
 'manage_vocabularies', 'permissions': ('Modify portal content',)},
 {'category': 'global', 'available': True, 'title': 'Directories', 'url':
 'https://foo.bar.org/portal/cpsdirectory_view', 'name': 'Directories',
 'visible': True, 'allowed': True, 'id': 'directories', 'permissions':
 ('View',)}, {'category': 'global', 'available': True, 'title':
 'cpsma_configure_mailtool', 'url':
 'https://foo.bar.org/portal/portal_webmail/configure.html', 'name':
 'cpsma_configure_mailtool', 'visible': True, 'allowed': True, 'id':
 'webmail_global', 'permissions': ('Manage MailTool',)}, {'category':
 'global', 'available': True, 'title': 'Type management', 'url':
 'https://foo.bar.org/portal/cpstypes_list', 'name': 'Type management',
 'visible': True, 'allowed': True, 'id': 'typemaker', 'permissions':
 ('Manage portal',)}, {'category': 'global', 'available': <bound method
 ActionInfo._checkCondition of {...}>, 'title': '_action_themes_reconfig_',
 'url': 'https://foo.bar.org/portal/cpsskins_themes_reconfig_form', 'name':
 '_action_themes_reconfig_', 'visible': True, 'allowed': <bound method
 ActionInfo._checkPermissions of {...}>, 'id': 'configThemes',
 'permissions': ('View',)}, {'category': 'global', 'available': True,
 'title': 'Reconfigure Portal', 'url':
 'https://foo.bar.org/portal/config_form', 'name': 'Reconfigure Portal',
 'visible': True, 'allowed': True, 'id': 'configPortal', 'permissions':
 ('Manage portal',)}], 'global_header': [{'category': 'global_header',
 'available': True, 'title': 'action_accessibility', 'url': <bound method
 ActionInfo._getURL of {...}>, 'name': 'action_accessibility', 'visible':
 True, 'allowed': True, 'id': 'accessibility', 'permissions': ('View',)},
 {'category': 'global_header', 'available': True, 'title': 'action_print',
 'url': <bound method ActionInfo._getURL of {...}>, 'name': 'action_print',
 'visible': True, 'allowed': True, 'id': 'print', 'permissions':
 ('View',)}, {'category': 'global_header', 'available': True, 'title':
 'action_advanced_search', 'url': <bound method ActionInfo._getURL of
 {...}>, 'name': 'action_advanced_search', 'visible': True, 'allowed':
 True, 'id': 'advanced_search', 'permissions': ('View',)}, {'category':
 'global_header', 'available': True, 'title': 'action_contact', 'url':
 <bound method ActionInfo._getURL of {...}>, 'name': 'action_contact',
 'visible': True, 'allowed': True, 'id': 'contact', 'permissions':
 ('View',)}], 'user': [{'category': 'user', 'available': True, 'title':
 'Log out', 'url': 'https://foo.bar.org/portal/logout', 'name': 'Log out',
 'visible': True, 'allowed': True, 'id': 'logout', 'permissions':
 ('View',)}, {'category': 'user', 'available': True, 'title':
 'action_my_preferences', 'url':
 'https://foo.bar.org/portal/cpsdirectory_entry_view?dirname=members&id=user',
 'name': 'action_my_preferences', 'visible': True, 'allowed': True, 'id':
 'preferences', 'permissions': ('View',)}, {'category': 'user',
 'available': True, 'title': '_list_mail_', 'url':
 'https://foo.bar.org/portal/portal_webmail/webmailRedirect.html?user_id=user',
 'name': '_list_mail_', 'visible': True, 'allowed': True, 'id': 'webmail',
 'permissions': ('View',)}, {'category': 'user', 'available': True,
 'title': 'My calendar', 'url':
 'https://foo.bar.org/portal/members/user/calendar', 'name': 'My calendar',
 'visible': True, 'allowed': True, 'id': 'my_calendar', 'permissions':
 ('View',)}, {'category': 'user', 'available': True, 'title':
 'action_my_subscriptions', 'url':
 'https://foo.bar.org/portal/manage_my_subscriptions_form', 'name':
 'action_my_subscriptions', 'visible': True, 'allowed': True, 'id':
 'my_subscriptions', 'permissions': ('View My Subscriptions',)}], 'folder':
 [{'category': 'folder', 'available': True, 'title': 'action_portlets',
 'url':
 'https://foo.bar.org/portal/workspaces/projektmanagement/portlet_manage_form',
 'name': 'action_portlets', 'visible': True, 'allowed': True, 'id':
 'portlets', 'permissions': ('Manage Portlets',)}]}
 cpsskins_language       'en'
 cpsskins_mcat   None
 PUBLISHED       <FSPythonScript at /portal/content_checkout_draft used for
 /portal/workspaces/projektmanagement/action-list-vom-meeting>
 _localizer_placeful_mc_cache    {'Localizer/default': <MessageCatalog at
 /portal/Localizer/default>}
 TraversalRequestNameStack       []
 _ec_cache       {1212806892: <Products.PageTemplates.TALES.Context
 instance at 0x487cd52c>}
 _ts_domain_cache        {'default': <LocalizerDomain at
 /portal/translation_service/>}
 VirtualRootPhysicalPath ('',)
 BASE0   'https://foo.bar.org'
 BASE1   'https://foo.bar.org'
 BASE2   'https://foo.bar.org/portal'
 BASE3   'https://foo.bar.org/portal/portal'
 BASE4   'https://foo.bar.org/portal/portal/workspaces'
 BASE5   'https://foo.bar.org/portal/portal/workspaces/projektmanagement'
 BASE6   'https://foo.bar.org/portal/portal/workspaces/projektmanagement
 /action-list-vom-meeting'
 BASE7   'https://foo.bar.org/portal/portal/workspaces/projektmanagement
 /action-list-vom-meeting/content_checkout_draft'
 AcceptLanguage  <Products.Localizer.Accept.AcceptLanguage instance at
 0x4882d04c>
 URL1    'https://foo.bar.org/portal/portal/workspaces/projektmanagement
 /action-list-vom-meeting'
 _translation_service_cache      <PlacefulTranslationService at
 /portal/translation_service used for
 /portal/portal_layouts/search_portlet/w__search>
 URL0    https://foo.bar.org/portal/portal/workspaces/projektmanagement
 /action-list-vom-meeting/content_checkout_draft
 URL1    https://foo.bar.org/portal/portal/workspaces/projektmanagement
 /action-list-vom-meeting
 URL2    https://foo.bar.org/portal/portal/workspaces/projektmanagement
 URL3    https://foo.bar.org/portal/portal/workspaces
 URL4    https://foo.bar.org/portal/portal
 URL5    https://foo.bar.org/portal
 URL6    https://foo.bar.org
 BASE0   https://foo.bar.org
 BASE1   https://foo.bar.org
 BASE2   https://foo.bar.org/portal
 BASE3   https://foo.bar.org/portal/portal
 BASE4   https://foo.bar.org/portal/portal/workspaces
 BASE5   https://foo.bar.org/portal/portal/workspaces/projektmanagement
 BASE6   https://foo.bar.org/portal/portal/workspaces/projektmanagement
 /action-list-vom-meeting
 BASE7   https://foo.bar.org/portal/portal/workspaces/projektmanagement
 /action-list-vom-meeting/content_checkout_draft
 environ
 HTTP_MAX_FORWARDS       '10'
 HTTP_REFERER    'https://foo.bar.org/portal/workspaces/projektmanagement
 /action-list-vom-meeting/content_checkout_draft_form'
 HTTP_ACCEPT_LANGUAGE    'en-us,en;q=0.5'
 SERVER_SOFTWARE 'Zope/(Zope 2.9.3-, python 2.4.4, linux2) ZServer/1.1
 CPS/3.4'
 SCRIPT_NAME     ''
 REQUEST_METHOD  'POST'
 PATH_INFO
 '/VirtualHostBase/https/foo.bar.org:443/VirtualHostRoot/portal/portal/workspaces/projektmanagement
 /action-list-vom-meeting/content_checkout_draft'
 SERVER_PROTOCOL 'HTTP/1.1'
 channel.creation_time   1152031115
 HTTP_X_FORWARDED_SERVER 'foo.bar.org'
 CONTENT_LENGTH  '9'
 HTTP_ACCEPT_CHARSET     'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
 HTTP_USER_AGENT 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
 rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4'
 HTTP_COOKIE     '__ac_name="user"; _ZopeId="80174578A2aWteyxjog";
 __ac="bWljazprdWxpYmVydA%3D%3D"'
 SERVER_NAME     '0.0.0.0'
 REMOTE_ADDR     '127.0.0.1'
 PATH_TRANSLATED
 '/VirtualHostBase/https/foo.bar.org:443/VirtualHostRoot/portal/portal/workspaces/projektmanagement
 /action-list-vom-meeting/content_checkout_draft'
 SERVER_PORT     '9677'
 HTTP_HOST       'localhost:9677'
 HTTP_ACCEPT
 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
 GATEWAY_INTERFACE       'CGI/1.1'
 HTTP_X_FORWARDED_FOR    '83.64.34.50'
 HTTP_X_FORWARDED_HOST   'foo.bar.org'
 CONTENT_TYPE    'application/x-www-form-urlencoded'
 HTTP_ACCEPT_ENCODING    'gzip,deflate'

 Now "Subsciption" screen is not accessible anymore for this workspace
 folder. (crash shield and same traceback in log)

-- 
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1691>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository


More information about the Nuxeo-tickets mailing list

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.