November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hi Quan Mai
I tried to include websocket, but to no avail. Problem still exists
Hi, we have the same issue with latest version.
Has anyone found a workaround?
Hi, my co-worker solved it.
The issue is that projects js file throws an exception (which is unfortunately not visible in the console) if work ID is 0 (although Projects aren't even enabled from Admin mode!).
So, my colleague added a fake version ID and set the version in the provider:
public override IContentVersionRepository VersionRepository { get { return (this._myContentVersionStore ?? (this._myContentVersionStore = new MyContentVersionStore(this))); } }
I believe this should be fixed, I'll write to support to inform them and I'll let you know if there is a better workaround.
BR,
Marija
I've got the info that a bug has been reported:
"CMS-3219 Issue with projects UI code and Content providers"
Our fix works so-so, it looks like it stops working after a while (?!). If my colleague fixes this, I'll keep you posted.
As a temporary fix for this I extracted "~/modules/_protected/CMS/CMS.zip" and updated the if-statement in "9.4.2.0/ClientResources/epi-cms/widgets.js" (in the method 'getProjectItemForContent', line 199, col 932) from:
if(_736.workId===0)
to:
if(_736.workId===0 && (_736.providerName === null || _736.providerName === ''))
Finally I just deleted CMS.zip and created a new one from my extracted files.
After upgrading to 9.4.2 Episerver.Cms.UI package does not work conten view mode for custom provider. Content provider was made with the help of articles
http://world.episerver.com/blogs/Per-Magne-Skuseth/Dates/2014/11/content-providers-101--part-i-introduction-initialization-ui--identity-mapping/
before upgrading
after upgrading
Thanks,
Natallia