Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
"content" key in Key/Value Field is not displayed in content edit window #16046
Reported via support ticket: 97528
When an entry is added for Key/Value field using the word "content" for the key, and the contentlet is saved, the next time the content is edited the entry doesn't display in the content edit window.
All Key/Value field entries should display when the content is edited. If the "content" key is used for a new entry for a Key/Value fields, and the contentlet is saved and the edit window is closed, the next time that the content is edited the entry should display.
If the "content" word is used for a new entry in a Key/Value field, and the contentlet is saved, the next time that the content is edited (after close the content edit window and open it again), the entry doesn't display.
The code that displays the Key/Value field entries, has a condition to skip the entry is the key is equals to "content" word:
That condition can be removed so the entry displays in the content edit window.
There's no known workarounds for this issue.
Steps to Reproduce
This was reported by client in this support issue: 97528