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

.AddContentTypeLink() should work well with the read-only content types (Content Type Hub) #745

Closed
SubPointSupport opened this issue Nov 27, 2015 · 3 comments

Comments

@SubPointSupport
Copy link
Contributor

  1. when calling AddContentTypeLink() on a doc library for a subscribed content type, the content type is added as 'not visible'.
  2. when calling AddContentTypeLink() on a doc library for a subscribed content type that already exists, the error 'content type is read-only' is thrown.

Community feedback:
https://www.yammer.com/spmeta2feedback/#/Threads/show?threadId=620823082

@SubPointSupport SubPointSupport self-assigned this Nov 27, 2015
SubPointSupport added a commit that referenced this issue Nov 28, 2015
… work well with the read-only content type (Content Type Hub) #745
@SubPointSupport SubPointSupport changed the title .AddContentTypeLink() should work well with the read-only content type (Content Type Hub) .AddContentTypeLink() should work well with the read-only content types (Content Type Hub) Nov 29, 2015
@SubPointSupport
Copy link
Contributor Author

Covered with the following tests:

  • CanDeploy_ContentTypeLink_As_CTH_Document_ContentType
  • CanDeploy_ContentTypeLink_As_CTH_Item_ContentType

@SubPointSupport
Copy link
Contributor Author

Reopened with the following issue:

  1. when calling AddContentTypeLink() on a doc library for a subscribed content type, the content type is added as 'not visible'.

@SubPointSupport
Copy link
Contributor Author

Seems to be random glitch on one site collection only. Closed until more details will come.

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