xp icon indicating copy to clipboard operation
xp copied to clipboard

Better error message for portal.getSite() in main.js currently: Empty message in exception

Open ComLock opened this issue 7 years ago • 2 comments

ComLock avatar Oct 06 '17 12:10 ComLock

Naturally it will fail, but the problem here is that you should not need the "portal" lib at all... Solution here is probalby to split portal into two different API's . site-lib and "http-lib" or something like that. And we will deprecate portal lib (killing it in 7.0)

I will assign this to @aro so he can spec the two new libraries. Also we need to consider how we will deal with the portal functions in the future - as various templating languages also do similar stuff...

sigdestad avatar Nov 03 '17 12:11 sigdestad

It may be fixed https://github.com/enonic/xp/issues/8844 Please, verify

rymsha avatar Sep 12 '22 15:09 rymsha