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

assignment using portlets.xml fails #1

Open
iham opened this issue Feb 26, 2019 · 1 comment
Open

assignment using portlets.xml fails #1

iham opened this issue Feb 26, 2019 · 1 comment

Comments

@iham
Copy link

iham commented Feb 26, 2019

this is a chicken/egg problem:

assigning a portlet with no content doesn't work, as the "content" (which is a uid of a content-object) is required. but as there is no content (at least none of which i'd know the uid of. as it is not possible to know the uid of an object beforehand (or even create a manual uid) i can't know that number... you see, where this is going.

letting the assignment initialise without content would fix that:
assign portlet (generic setup) - create content (like in a post_handler) - get the uid and add it to that portlet: done.

@iham
Copy link
Author

iham commented Feb 26, 2019

... having a required=True on the choice is also a problem with that

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