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 Feb 22, 2017
1 parent 8e1e9dc commit 78b7653
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 78b7653

Please sign in to comment.