Geta / geta-optimizely-categories

An alternative to Optimizely's default category functionality, where categories are instead stored as localizable IContent.
5 stars 10 forks source link

Category selector is incompatible with .NET 8 #31

Open Tim-Schmelter opened 7 months ago

Tim-Schmelter commented 7 months ago

We upgraded our projects to .NET 8 but needed to go back to .NET 6 because the geta category selector is not compatible and we get errors in the console wherever we use it in the cms:

geta_errors

Edit: It seems that geta categoeries 1.1.1 even has issues with .NET 6, so we rolled back to 1.0.0. So maybe .NET 8 is not the problem but 1.1.1

evest commented 7 months ago

Strange, I have 1.1.1 running fine on .NET 8. image

Tim-Schmelter commented 7 months ago

I just noticed something: in my screenshot you can see that it seems that the 1.0.0 script was loaded even if we were using the 1.1.1 version(now we rolled back to 1.0.0). What we were doing wrong then?

evest commented 7 months ago

Yeah; I wondered as well, assumed the screenshot was from after rolling back.

It is also returned with the wrong content-type in your screenshot, which is even more strange.

Seem like a cache issue, what does the modules_protected\Geta.Optimizely.Categories\Geta.Optimizely.Categories.zip look like? Is it 1.1.1 inside after you have upgraded?

Is the new zipfile deployed, or does it pick the old one?

Does it work locally in a dev env.?