-
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
Display name for a content part field in a recipe is being ignored on import / export #15062
Comments
@rjpowers10 this issue was in 1.8.0. It was fixed in 1.8.1. Are you able to test 1.8.1 and see if that solves the problem? Related to #14985 . |
@MikeAlhayek I was in the process of updating to OC 1.8, and I did not encounter the issue then. It was only after I did another update to 1.8.1 that I got the issue. After I noticed the issue in my app I tried to reproduce it in a plain old OC 1.8.1 app (as described in my initial post) and I got the same issue there. |
Describe the bug
I'm trying to update to OC 1.8.1. In my recipe I specify a display name that is different than the technical name. This worked all the way up to OC 1.8, but in OC 1.8.1 my display name is being ignored and the technical name is used instead.
Similarly, if I set the desired display name through the UI and export the content part field definition into a recipe, the display name is set to the technical name.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The resulting recipe has the correct technical and display names for the content type, but not the content part.
To Reproduce the other issue
Now, I start a brand new site from scratch. Instead of creating the content type from the UI, I import it from the following recipe (note the corrected display name). Go to /Admin/DeploymentPlan/Import/Json and paste in this recipe.
Go to /Admin/ContentParts/MyContentType/Fields/MyBooleanField/Edit and note the display name is incorrectly set to the technical name.
@MikeAlhayek could this be related to #15013?
The text was updated successfully, but these errors were encountered: