Skip to content

Bugfix/Flags set on project creation are discarded#532

Merged
Hironsan merged 5 commits into
doccano:masterfrom
CatalystCode:bugfix/project-create-options-ignored
Jan 27, 2020
Merged

Bugfix/Flags set on project creation are discarded#532
Hironsan merged 5 commits into
doccano:masterfrom
CatalystCode:bugfix/project-create-options-ignored

Conversation

@c-w

@c-w c-w commented Jan 10, 2020

Copy link
Copy Markdown
Member

Currently if a project is created with the "share annotations across all users" checkbox ticked, the collaborative_annotation option isn't set in the created project. This is due to code duplication in the various ProjectSerializer subclasses which led to a drift in the fields and read_only_fields between the various subclasses. This pull request fixes the issue by removing the code duplication and having one canonical set of fields and read_only_fields which is consistent across all subclasses of the project serializer.

Resolves #519

@Hironsan
Hironsan merged commit d2671a9 into doccano:master Jan 27, 2020
@c-w
c-w deleted the bugfix/project-create-options-ignored branch January 27, 2020 14:28
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.

[Bug report] "Share annotations across all users" is discarded

2 participants