Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating from 1.15 to 1.19.6 and finally to 2.0 #835

Open
ermancio opened this issue Sep 27, 2017 · 1 comment
Open

Migrating from 1.15 to 1.19.6 and finally to 2.0 #835

ermancio opened this issue Sep 27, 2017 · 1 comment

Comments

@ermancio
Copy link

ermancio commented Sep 27, 2017

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?

@ermancio
Copy link
Author

ermancio commented Sep 27, 2017

I forgot to say that I also migrated from Plone 4.2 to Plone 4.3.14 following the instructions in
https://github.com/plomino/Plomino/wiki/HOW-TO-migrate-from-Plomino-1-to-Plomino-2
So the question is:
is it necessary to migrate from Plone 4.2 to Plone 4.3 for migrating to Plomino 2.0? Or is it enough to migrate from Plomino 1.5 to Plomino 1.19 within Plone 4.2 and then upgrade to Plone 5?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant