Closed nguyenminhvuong closed 1 year ago
@barteksekula I tested on the Alloy site. The issue still occurs. Could you please check again
Maybe we are missing something here. This is what I'm doing: https://user-images.githubusercontent.com/1321664/200661212-ed3ea930-4ff9-42c8-ad39-7e78c47037f5.mp4
The bug only happened when PinSecurity was turned on, I think that was the reason why we were not able to communicate properly. Anyway, if that was the case for you then the issue was fixed in both .net core https://nuget.optimizely.com/package/?id=Advanced.CMS.AdvancedReviews&v=1.2.2 and in .net framework https://nuget.optimizely.com/package/?id=Advanced.CMS.AdvancedReviews&v=0.9.2
@barteksekula I found the root cause of the issue. It happens when I do not create a language version of a start page.
Step to re-procedure in Alloy:
This is my workaround for my project:
I also found another issue when viewing the page in a review mode. In my case, we force to change all URLs to lowercase; then when going to review mode, it returns a blank page. Because in PageEditPartialRouter.cs, nextSegment.Next.ToString() != _externalReviewOptions.ContentIframeEditUrlSegment return false. It should compare ignored case.
True, reopening.
Steps:
Expected:
External view or edit URL show content of current language version
Actual:
It shows the content of the English version.
Installed packages: Episerver.Labs.LanguageManager - 5.1.1 Episerver.CMS.UI - 12.10.0 Episerver.CMS - 12.8.0 Episerver.CMS.AspNetCore - 12.8.0