Problem with migration from 0.1
from
Franco Pellegrini
on Mar 14, 2008 08:48 AM
Hello everyone, i subscribed to the list because i'm having a problem after
migrating lists from listen 0.1 to 0.5b1
i went to migrate_listen_mailing_lists template, clicked on "Migrate" and
after several minutes i had a list of successfully migrated lists, but when i
try to access any of them, i get an error (you can see it at the bottom of
this mail).
Trying to add a new list, i noticed that the type name states 'MailingList'
and i think before was 'Mailing List', so i went to portal_types and changed
the type's name to 'Mailing List', and voilá, the older lists (the ones that
i migrated) were accessible again :-D
so my questions are:
this solution can brake anything in the future when using the lists ?
is there any better solution to fix this ?
regards, and thanks on such a great product :-D
Franco
AttributeError
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish, line 196, in publish_module_standard
* Module Products.PlacelessTranslationService.PatchStringIO, line 34, in
new_publish
* Module ZPublisher.Publish, line 146, in publish
* Module Zope2.App.startup, line 222, in zpublisher_exception_hook
* Module ZPublisher.Publish, line 115, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 41, in call_object
* Module Products.listen.browser.mailinglist_views, line 108, in __call__
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.PageTemplates.PageTemplateFile, line 113, in _exec
* Module Products.PTProfiler.ProfilerPatch, line 83, in __patched_render__
* Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<ImplicitAcquirerWrapper object at 0x2aaaab9eb1d0>
* Module TAL.TALInterpreter, line 238, in __call__
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 749, in do_useMacro
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 749, in do_useMacro
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 507, in do_setLocal_tal
* Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:CMFPlone/skins/plone_templates/global_defines.pt
Line 3, Column 0
Expression: standard:'plone_view/getViewTemplateId'
Names:
{'container': <MailingList
at /dot/www/what-we-do/teachup/usa/21s-comm-team/discussions/listen>,
'context': <MailingList
at /dot/www/what-we-do/teachup/usa/21s-comm-team/discussions/listen>,
'default': <Products.PageTemplates.TALES.Default instance at
0x2ae10b164200>,
'here': <MailingList
at /dot/www/what-we-do/teachup/usa/21s-comm-team/discussions/listen>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at
0x2aaaabaf0f38>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x2ae10b1643b0>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x2aaaabaf0f38>,
'request': <HTTPRequest,
URL=http://dev.menttes.com:12386/dot/www/what-we-do/teachup/usa/21s-comm-team/discussions/listen/mailinglist_view>,
'root': <Application at >,
'template': <ImplicitAcquirerWrapper object at 0x2aaaab9eb1d0>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>,
'view': <Products.Five.metaclass.SimpleViewClass
from /usr/local/zope-dev/developer/frapell/new_dot/Products/listen/browser/mailinglist_view.pt
object at 0x2aaaab9babd0>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object
at 0x2aaaab9eb4d0>}
* Module Products.PTProfiler.ProfilerPatch, line 32, in __patched_call__
* 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.CMFPlone.browser.plone, line 42, in cached_method
* Module Products.CMFPlone.browser.plone, line 398, in getViewTemplateId
* Module Products.CMFPlone.browser.plone, line 411, in
_lookupTypeActionTemplate
AttributeError: 'NoneType' object has no attribute 'getActionInfo' (Also, the
following error occurred while attempting to render the standard error
message, please see the event log for full details: 'NoneType' object has no
attribute 'getActionInfo')