cloudscribe/cloudscribe.Web.Navigation

Breadcrumb view component only renders on the first page load

Closed this issue · 4 comments

Hi.

I was able to render the breadcrumb without issues in my application when using cloudscribe.Web.Navigation 4.1.0.

However, after upgrading to cloudscribe.Web.Navigation 4.1.1, the breadcrumb would only render on the first page that loads for the web application.

It seems it has something to do with the merged PR #92 for #91.

Has anyone else experienced this behavior?

ASP.NET Core 3.1 in IIS on Windows 10 64-bit

Thank you.

Thanks for spotting that @icnocop
In moving away from the binaryFormatter, and caching the navigation in json instead, I think I've dropped a property along the way. I'll get a revised package published hopefully today.

cloudscribe.Web.Navigation at version 4.1.2 seems to work for me now, if you would like to test it.
(My experience was the breadcrumbs were broken completely, at 4.1.1)

This package is itself referenced by cloudscribe.Core.Web, which I will be upgrading shortly for other reasons too.

No this is still a problem in production (though not in local dev, strangely)
Although breadcrumbs are now working, JSON serializer throws an exception in production when writing nav to cache -
You're not allowed to JSON serialize objects with 'Parent' references to instances of the same object.

A fix for the above Parent serialization problem is ready to be tested now:
cloudscribe.Web.Navigation at version 4.1.3

(Again this will not be installed by default into a new template solution -
will need to be upgraded manually via the Nuget package manager -
until I will bump another version of upstream package cloudscribe.Core.Web)

(Note to myself - cloudscribe.Core.Web needs to go to 4.1.8
and reference cloudscribe.Web.Navigation at 4.1.3 )