I just discovered a strange problem with the portfolio item:
I have two language trees (German and English). When I add a portfolio section on any page (no matter which tree), the page loads up normally. As soon as I add a portfolio item on the page, different things happen:
On the German tree it takes unusually long to save the item (the system including the front end kind of hangs), but then the item is visible on the page and working.
On the English tree the item is saved regularly, but when I open the page, it displays an error message and the page doesn't load regularly.
Is there any place, where I can look to solve this?
Unfortunately I just realized, that the blog post item brings up the same error message and the same behaviour (working on German language tree, not working on English language tree):
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Line 51: }
Line 52:
Line 53: <span>@item.GetPostDate()</span></div>
Line 54:
Line 55: <div class="post-header">
Portfolio item not working
Hello everyone,
I just discovered a strange problem with the portfolio item:
I have two language trees (German and English). When I add a portfolio section on any page (no matter which tree), the page loads up normally. As soon as I add a portfolio item on the page, different things happen:
Is there any place, where I can look to solve this?
Thanks a lot, Simeon
Hello everyone,
a programmer found a possible source of the error:
He said, the problem is with counting items in the virtual nodes, but can't dive deeply into the structure.
I would be happy, if someone would know, where to look for solving this error.
Thanks a lot, Simeon
Hi Simeon
Can you share the code with us?
Thanks,
Alex
Hi Alex,
Which code do you mean? SectionPortfolio.cshtml?
The Stack trace is:
Thanks,
Simeon
Hi!
Unfortunately I just realized, that the blog post item brings up the same error message and the same behaviour (working on German language tree, not working on English language tree):
Stack Trace:
I would be really grateful, if anyone had an idea...
Thanks!
Simeon
Hi Simeon
Can you show Source File: c:\Umbraco\Views\pageBlogList.cshtml Line: 53 ?
Hi Simeon
Did you solve this issue? can you share with the community?
Thanks,
Alex
Hi Alex,
Sorry, I didn't get your previous reply. No, the issue is still unsolved. The code of the line is:
Thanks a lot!
Simeon
Hi Simeon
Can you look at source code of 'GetPostDate' method?
Hi Alex,
Please excuse my late reply! What do you mean with source code? Isn't the line I posted the source code?
Or do you mean the code section after opening the page?
Best, Simeon
Hi everyone,
Now, much later I can at least post a possible solution for the portfolio item.
I found this post: https://our.umbraco.org/projects/starter-kits/umazel-starter-kit-responsive-bootstrap-theme/umazel-starter-kit-general-discussion/87436-index-out-of-bounds-with-multi-lingual-setup#comment-277193
And by taking out the line out of web.config
it now seems to work.
Unfortunately blog post page still doesn't work - but hey, maybe I find that as well...
Best, Simeon
is working on a reply...