Entity Relationships Not Saving
See original GitHub issueI’m submitting a …
- [ x ] bug report => search github for a similar issue before submitting
- [ ] feature request
- [ ] support request => do not submit here, see https://2sxc.org/en/blog/post/moving-discussions-from-codeplex-to-stack-overflow
- [ ] not sure
…about
- [ ] edit experience / UI
- [ ] admin experience UI
- [ ] Razor templating
- [ ] JS development
- [ x ] Content Types or data management
- [ ] APIs like REST
- [ ] DNN parts
- [ ] other / unknown
Current behavior
I have a Entity field type defined for a Content Type. I select the Entity from the list and click Save. The page reloads but when I edit the content type gain the Entity hasn’t been saved.
Expected behavior
When selecting the entity from the list and clicking save, when editing the content type again, the previously selected entity should already be selected in the list
Minimal reproduction of the problem with instructions
Here’s a screencast of the issue happening, https://www.screencast.com/t/usmuxAxeJN1R
What is the motivation / use case for changing the behavior?
I would like to categorize some content to be able to apply filtering
Please tell us about your environment:
Server: Windows 2012 R2, IIS 9, SQL 2016 Express
- 2sxc version(s): 9.3.0
- Browser: [all | Chrome 59.|
- DNN: | 9.1.0 ]
- Language: [any/all | English ]
Anything you would like to add I’m also seeing a 400 error when trying to edit the field that is of the Entity type https://www.screencast.com/t/0H6lpwP6Wbw
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (4 by maintainers)
Top GitHub Comments
my guess: you have some (faulty) demo- or unpublished data which the template only receives when logged in - and that’s where it breaks. could you check that? for example by commenting out most of the template so you stop getting errors, then adding some test-code to check what’s in the variable.
thx! will look into this the next few days.