Timeline for 'No model set' after choosing Create new Content for the datasource of the rendering
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 12, 2017 at 9:03 | vote | accept | Jonathan Robbins | ||
May 9, 2017 at 9:54 | history | edited | Jonathan Robbins | CC BY-SA 3.0 |
Explained where method oiriginates
|
May 9, 2017 at 7:29 | answer | added | Tamás Tárnok | timeline score: 3 | |
May 8, 2017 at 12:49 | history | edited | Jonathan Robbins | CC BY-SA 3.0 |
Added controller
|
May 8, 2017 at 12:44 | comment | added | Jonathan Robbins | Yeah, Glass V4, not specifying model items in Sitecore and the DS items use the same datasource. No customisation of the GetRenderingDatasource pipeline either. Interestingly though, publishing the newly created DS Item resolved the issue so looks like the Database used is not the one in Context | |
May 6, 2017 at 3:18 | comment | added | Chris Auer | Are you doing anything special in the GetRenderingDatasource pipeline? Its odd that your items is not immediately available to you. | |
May 5, 2017 at 16:19 | comment | added | jammykam | I assume you're using Glass V4? Are you specifying model items in Sitecore or expecting Glass to resolve the model for you? Also I assume the old and the new DS items are of the same template type? | |
May 5, 2017 at 16:10 | comment | added | Tamás Tárnok |
What is this for - x => Html.Sitecore().Field(I_BaseInformationConstants.InformationFieldName).ToString() as a third parameter? And can you post the Controller Action code?
|
|
May 5, 2017 at 16:05 | comment | added | Jonathan Robbins | Actually the error persists after a reload which is curious. However, changing to a pre-existing Datasource (i.e. one not just created by Create New Content') the error message disappears. However the error reappears when swapping back to the newly created datasource | |
May 5, 2017 at 15:44 | comment | added | Tamás Tárnok | How do you get the Model for the View? If I understand correctly it works fine after reload the page? | |
May 5, 2017 at 15:04 | history | asked | Jonathan Robbins | CC BY-SA 3.0 |