-
Notifications
You must be signed in to change notification settings - Fork 0
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
News App v4.1.1 Breaks after upgrade to 2sxc v16.07.00 #28
Comments
Further problems. So since the error was on Paging, I went in to the ViewConfiguration and turned off the paging and set ItemsInPage to 999. This fixed it, now I have many dozens of news items on the page with page - much better, however, when you click on the article to go to News4/_Details.cshtml, you get the same error again and this time its the same on Line 23:
So to fix that I move the @ helpers and functions from the .code.cshtml up to the _Details.csthml and update the code. This works, but now the Inner Html blows this error:
and lines 67-69 are this, which I have no idea how to fix:
|
Sorry didn't see this sooner. We discovered and fixed it in v16.09 but didn't release it as LTS since we didn't run it through all the extensive manual tests. |
Please re-open. Though you are correct that 16.09 fixed problem 1 above (.code.cs partials), the second problem still (inner content error) exists. Details above have not changed. I would probably not be willing to try v17 on this site yet. So hopefully there is a possible fix for 16.09.01? Or maybe there is a way to write the code differently? Again, this is unmodified News 4.1.1, _Details.cshtml line 68. |
I'm confused as to what works and what not - and I would not be able to forward this issue to anybody in this state. Could you open another issue with the remaining problem? many thanks. |
I have an older project from 2020. After upgrading to DNN v9.13.01 (from 9.09.01) and to 2sxc v16.07.00 (from 13.12.1 and before that from 11.22.0), the unmodified News App v4.1.1 throws the following error.
Here is the app version
https://github.com/2sic/app-news/tree/v04.01.01
Line 50 here
https://github.com/2sic/app-news/blob/v04.01.01/_List.cshtml
And it claims Line 7 here (which doesn't make sense?)
https://github.com/2sic/app-news/blob/v04.01.01/shared/_List%20Paging.cshtml
I tried moving the shared files from the subfolder up to the app root (2sxc/News4) and also renamed them with and without the underscore and space. Same error each time.
I have not been able to come up with a fix. Any suggestions or ideas?
The text was updated successfully, but these errors were encountered: