Skip to content

Commit

Permalink
fix plone#99 for Archetypes content
Browse files Browse the repository at this point in the history
suggested by pgrunewald
  • Loading branch information
gotcha committed Aug 31, 2016
1 parent 3bdc5d4 commit 34eaa03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/api/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def create(
if IBaseObject.providedBy(content):
# Will finish Archetypes content item creation process,
# rename-after-creation and such
content.processForm()
content.processForm(values=kwargs)

if not id or (safe_id and id):
# Create a new id from title
Expand Down

0 comments on commit 34eaa03

Please sign in to comment.