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

Composite.Tools.StaticDataTypeCreator does not enumerate DataScope() attributes correctly #32

Open
mawtex opened this issue Sep 1, 2016 · 0 comments

Comments

@mawtex
Copy link
Collaborator

mawtex commented Sep 1, 2016

The source code generated via this tool is incomplete for data types that has publication workflow on it. For data that needs the publication workflow, data scoped for both "public" and "administrated" is needed, but the output only contains this declaration:

[DataScope("public")]

The effect is that the data type will always be saved to the public scope (automatically published).

Repro:

  1. Install package
  2. Create a data type that has "Has publishing" checked under "Services"
  3. Use "Download Data Type Source Code" and examine the type's attributes.

Expected: DataScope("public") and DataScope("administrated")
Actual: DataScope("public")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant