Skip to content

Migrating from 1.15 to 1.19.6 and finally to 2.0 #835

@ermancio

Description

@ermancio

Hi,
I'm trying to migrate my Plomino database from 1.15 (in Plone 4.2) to 1.19.6 (in Plone 4.3).
I imported it and I did the same with users and rights.
When I try to visualize my Form (or my View) with any user, I have the following error:

**URL: ActionBar
Line 77, Column 2**
Expression: <PythonExpr [(act, parent_id) for act, parent_id in owner.getActions(here, True, owner.id) if act.getInActionBar()==True]>
Names:

{'container': <PloneSite at /Pratiche>,
 'context': <PlominoForm at /Pratiche/pratiche/pratica>,
 'default': <object object at 0x7f538f553560>,
 'here': <PlominoForm at /Pratiche/pratiche/pratica>,
 'loop': {},
 'nothing': None,
 'options': {'args': ()},
 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7f537c54f680>,
 'request': <HTTPRequest, URL=http://localhost:8080/Pratiche/pratiche/pratica/OpenForm>,
 'root': <Application at >,
 'template': <ZopePageTemplate at /Pratiche/OpenForm used for /Pratiche/pratiche/pratica>,
 'traverse_subpath': [],
 'user': <PropertiedUser 'admin'>}

Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
__traceback_info__: [(act, parent_id) for act, parent_id in owner.getActions(here, True, owner.id) if act.getInActionBar()==True]
Module PythonExpr, line 1, in <expression>

TypeError: getActions() takes at most 3 arguments (4 given)

Some hint?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions