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

Rename Dexterity content before adding it to a container #577

Merged
merged 2 commits into from
Jul 3, 2018

Conversation

buchi
Copy link
Member

@buchi buchi commented Jun 30, 2018

This is more consistent with the behavior when creating content TTW.
Also it avoids creating a savepoint.
AT content still has to be renamed after beeing added to a container.

Fixes #570

This is more consistent with the behavior when creating content TTW.
Also it avoids creating a savepoint.
AT content still has to be renamed after beeing added to a container.
@coveralls
Copy link

coveralls commented Jun 30, 2018

Coverage Status

Coverage decreased (-0.008%) to 96.143% when pulling 5e45d06 on rename-before-add into 61af906 on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.008%) to 96.143% when pulling 5e45d06 on rename-before-add into 61af906 on master.

@tisto tisto merged commit aa5ae6c into master Jul 3, 2018
@tisto tisto deleted the rename-before-add branch July 3, 2018 14:10
@tomgross
Copy link
Member

tomgross commented Jul 3, 2018

Thx!

phgross added a commit to 4teamwork/opengever.core that referenced this pull request Aug 8, 2018
The `rename` helper method has been droped by
plone/plone.restapi#577 thus we use now the
`add` method and sets the `rename` flag to True.
phgross added a commit to 4teamwork/opengever.core that referenced this pull request Aug 8, 2018
With plone/plone.restapi#577 an `create`
keyword has been introduced. Because initalizing the
title and metadata from the message file, makes only sense after
creation, therefore we make the initalization conditionally on the
`create` flag.
phgross added a commit to 4teamwork/opengever.core that referenced this pull request Aug 8, 2018
The `rename` helper method has been droped by
plone/plone.restapi#577 thus we use now the
`add` method and sets the `rename` flag to True.
phgross added a commit to 4teamwork/opengever.core that referenced this pull request Aug 8, 2018
With plone/plone.restapi#577 an `create`
keyword has been introduced. Because initalizing the
title and metadata from the message file, makes only sense after
creation, therefore we make the initalization conditionally on the
`create` flag.
phgross added a commit to 4teamwork/opengever.core that referenced this pull request Aug 9, 2018
The `rename` helper method has been droped by
plone/plone.restapi#577 thus we use now the
`add` method and sets the `rename` flag to True.
phgross added a commit to 4teamwork/opengever.core that referenced this pull request Aug 9, 2018
With plone/plone.restapi#577 an `create`
keyword has been introduced. Because initalizing the
title and metadata from the message file, makes only sense after
creation, therefore we make the initalization conditionally on the
`create` flag.
phgross added a commit to 4teamwork/opengever.core that referenced this pull request Aug 9, 2018
The `rename` helper method has been droped by
plone/plone.restapi#577 thus we use now the
`add` method and sets the `rename` flag to True.
phgross added a commit to 4teamwork/opengever.core that referenced this pull request Aug 9, 2018
With plone/plone.restapi#577 an `create`
keyword has been introduced. Because initalizing the
title and metadata from the message file, makes only sense after
creation, therefore we make the initalization conditionally on the
`create` flag.
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

Successfully merging this pull request may close these issues.

4 participants