Enonic version: 6.15.1
I am getting the same errors like in this thread:
I am getting it when I try to use
portal.idProviderUrl. The same error might appear for some other functions, but I didn’t test all of them. Most of functions work correct.
gradle.properties file uses the correct version(6.15.1) and I have also tried to change version manually by editing
build.gradle file. I saw it downloading the correct version when building, so I assume the issue might be somewhere else.
Both libs are also included at a start of a file:
var portal = require('/lib/xp/portal'); var content = require('/lib/xp/content');