Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

Widget create variant not working

$
0
0
I converted a .NET framework 4.8 Kentico 13.0.111 to .NET core 6.I noticed that the Widget variant functionality doesn't work anymore. The widgets that already had multiple variants configured still work on the MVC website. When I switch to another persona, I get to see the matching variant of that widget. I can also edit the content of a variant. However in the Page Builder functionality, for a new widget, I can't add new variants. That part doesn't to be working anymore.So I open the Widget variant popup, I select the persona I want, I click on 'Add variant' but nothing happens at that point: I don't see any error in my console, network tab or Kentico Event Log.The only difference with PROD (where it's still working since that one is running on .NET 4.8) is the path of the request and the response:LOCAL: (post request)https://localhost:44323/cmsctx/pm/36983b36-8502-4a42-a274-545af16312f6/culture/nl-BE/wg/5f26ce66-dbd7-46dd-8324-302fb4c2adbe/readonly/0/ea/1/h/1fef8829c7d20d6f06a9568f278417a6d65e10c796db43c31c775f9e7b3b3e65/-/kentico.pagebuilder/personalization/conditiontypes/infino.personalization.isinpersona/isinpersona/validate?editmode=1@instance=e9ef5a9e-10b7-4ee2-b895-5cfe4d743627@uh=fcfdfcdc401a688a2af03084c665d2a44a6085598cf2debf6a266b662a098c5c@administrationurl=https%3A%2F%2Flocalhost%3A44393%2F@uiculture=en-usResponse:on PROD: (post request)https://www.infino.be/cmsctx/pm/36983b36-8502-4a42-a274-545af16312f6/culture/en-GB/wg/61405309-552b-4208-9bdc-147db85187e7/readonly/0/ea/1/h/20b3469af91e09b1660524ec0250ab320e511b11f764c06dd7ee4eda0871a6d7/-/kentico.pagebuilder/personalization/conditiontypes/infino.personalization.isinpersona/isinpersona/validate/?editmode=1@instance=0ed3a065-a6de-4185-b51d-6bdcdd3f8619@uh=29b598270eaab62c878836e903e5ec39234abdf09d0f0ee75c65b61e17a7a6ef@administrationurl=https%3A%2F%2Fadmin.infino.be%2F@uiculture=en-usResponse:As far as I can see the difference is a @/@ in @.../validate/?editmode...@.Not sure how to further debug this?Next to this, during my conversion I have this folder in my MVC project:I am trying to figure out of this is something generated by Kentico or added by previous developers? Since .NET core is using wwwroot to serve files, the Page Builder might miss some scripts? Do I need to move these files to wwwroot as part of the migration or can I just ignore this? I think these files came from installing Nuget Kentico.Xperience.AspNet.Mvc5 or Kentico.Xperience.LibrariesAny advice?

Viewing all articles
Browse latest Browse all 8901

Trending Articles