-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
A field with the name: XX is already registered for GraphType: YY #12423
Comments
Behaviour is same, still needs a fix, I misjudged while debugging |
@tropcicstefan could you have a look if this fix will solve your issue? |
@tropcicstefan could you please confirm if #13927 fixed this issue? |
@Piedone it did fix my issue in the sense there is no exception thrown. made content type "test" with content part "ante" with textfield "MyProperty". Result is this image |
@lampersky could you comment on this, please? |
@Piedone I've just tried to repro, but with no luck |
Thank you! @tropcicstefan could you please check the same with a fresh install, just to rule out any previously existing config issues? |
If this was still a bug with |
Describe the bug
In #8669 @deanmarcussen did some builder changes so parts that aren't collapsed don't have double field registration. The thing is, there is no check when part is collapsed. So when other builder than
DynamicContentTypeBuilder
already builds some of the fields there is an error of double field registration.Expected behavior
Use already added field by changing if (fieldType != null) to if (fieldType != null && !contentItemType.HasField(fieldType .Name)
The text was updated successfully, but these errors were encountered: