Closed linhdoan closed 1 year ago
It's the same as you mention in version 12.17.1 (Just ran into this problem myself)
We are having the same issue. I tried downloading the repo and changing the Put to a Post in KpiStore lines 52 & 53 (and the unit tests), but I cannot get the initialization to add the A/B testing to the GUI when I reference the testing.web project from my Opti instance. I tried packing to make a local nuget package, but there are some files missing that prevents me from making the package.
Is there a way to test locally with my own branch and still have the UI setup the dojo / UI code for A/B testing? All the initialization classes are being called but I suspect there is something done during a package install that is not done when referencing the project directly.
I also have the same issue, using cms 12.18, using "EPiServer.Marketing.Testing" version 3.1.1. I also reported the issue here: https://world.optimizely.com/forum/developer-forum/Problems-and-bugs/Thread-Container/2023/7/abtesting--kpi-error-in-cms-12----method-not-allowed/
This issue has been fixed in the latest version.
The newest package doesn't work with CMS UI 12.19.0 due to the file "Shell/12.19.0/ClientResources/epi/shell/widgets.js" in latest UI package overridden the put method with a Xhr Http Post:
This lead to a 405 http status code (Method not Allowed) due to the rest controller only support GET & PUT