We have just installed Service Pack 4 in our servers and ContextHub is now failing to show Ui Modes.
We are getting this error in the Chrome console, while trying to edit a Segment (Audience):
Uncaught TypeError: window.injectContextHubUI is not a function
The segmentation is not working at all within our pages, and the segmentation toolbar is also not being displayed while previewing content.
Anyone knows a solution for this?
(Edited: by the way, I am migrating from 6.4 SP3)
You are right, the We.Retail uses the default ContextHub Path and Segments Path.
If I change my project to use the default ones (like in We Retail) then the segmentation toolbar displays correctly while editing Audience (Segments) and also while authoring my Pages.
But in our case, we are using custom Ui Modes. We need to change those paths in page/audience configuration.