It is difficult to share the whole project for security wise. What are the classes that you need to check?
Our main issue at CMS kit is routing, we are facing this issue
"Ambiguous Match Exception: The request matched multiple endpoints. Matches: /Public/CmsKit/Pages/Index /Index"
@enisn has fixed at version 8 as mentioned here https://github.com/abpframework/abp/pull/17642
But now we are not using version 8, we use 7.4.2, so how can we fix this issue at the current version? What is the fix or workaround we can do?
We need to fix this issue please.
Thanks
Yes, we already checked the document but "abp add-package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" command does not install the package correctly!
It should be
@page "/cmskit/page"
on v7.4.xCan you open it without overriding the Index page?
By the way can you share reproduction steps from scratch?
Yes, I already do not need to override. We have a project without customizing any public CMS pages and we just upgraded the Abp version and found this issue.
Hi, did you override
Pages/Public/CmsKit/Pages/Index.cshtml
page in the previous version?If yes, you'll need to define @page attribute like this: https://github.com/abpframework/abp/blob/35527c1ece6fddcf76eb08eabb1c6bc067abb8d4/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/Public/CmsKit/Pages/Index.cshtml#L1
But it's even changed again in v8.0 https://github.com/abpframework/abp/blob/rel-8.0/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/Public/CmsKit/Pages/Index.cshtml#L1
We have an issue with CMS module on our project when upgraded from abp 5 to abp 7.4. issue is related to the routing "Ambiguous Match Exception: The request matched multiple endpoints. Matches: /Public/CmsKit/Pages/Index /Index" I'm trying to override the index page to change its page attribute but the issue isn't fixed. I mention images for overriding the index page, plz check @enisn
Waiting for your answer.
Hi, For the CMS issue, I have overridden the public CMS kit index page but doesn't solve this issue. What should be done?
Hi,
We were trapped with this issue,
and when we disabled CMS it was gone. We think this issue is related to this version as mentioned here https://github.com/abpframework/abp/issues/17279 Please we need a solution for it without changing the version.
and adding new migration creates an empty one