as-ideas / oil

191 stars 56 forks source link

Hub errors saying it will use default Config in verboseMode #286

Closed elgreg closed 3 years ago

elgreg commented 4 years ago

If I have window.AS_OIL.verboseModeOn() and load our site that uses POI, the hub.html sends the errors below. Should I be worried about this? The CMP appears to function as expected.

I also noticed that the documentation says to "see below" about hub.1.3.5-RELEASE.min.js, but there is only one mention of it ever and I don't see it being loaded. I also don't see it loading anywhere...

OIL:  Using default config
hub.html:formatted:112 OIL:  Your configuration is faulty - it must contain a "config_version" property. See the oil.js documentation for details.
a @ hub.html:formatted:112
n.logError @ hub.html:formatted:78
s @ hub.html:formatted:278
u @ hub.html:formatted:295
n.getCookieExpireInDays @ hub.html:formatted:191
(anonymous) @ hub.html:formatted:3577
n.getPoiCookie @ hub.html:formatted:3591
f @ hub.html:formatted:3544
postMessage (async)
(anonymous) @ oil.1.3.5-RELEASE.min.js:16
Promise.then (async)
d @ oil.1.3.5-RELEASE.min.js:16
(anonymous) @ oil.1.3.5-RELEASE.min.js:16
setTimeout (async)
(anonymous) @ oil.1.3.5-RELEASE.min.js:16
p @ oil.1.3.5-RELEASE.min.js:16
(anonymous) @ oil.1.3.5-RELEASE.min.js:16
Promise.then (async)
(anonymous) @ oil.1.3.5-RELEASE.min.js:16
t.verifyPowerOptIn @ oil.1.3.5-RELEASE.min.js:16
(anonymous) @ oil.1.3.5-RELEASE.min.js:16
t.checkOptIn @ oil.1.3.5-RELEASE.min.js:16
e @ oil.1.3.5-RELEASE.min.js:16
(anonymous) @ oil.1.3.5-RELEASE.min.js:16
r @ oil.1.3.5-RELEASE.min.js:1
(anonymous) @ oil.1.3.5-RELEASE.min.js:1
(anonymous) @ oil.1.3.5-RELEASE.min.js:1
hub.html:formatted:112 OIL:  Incorrect or missing locale parameter found. Please review documentation on how to set the locale object in your configuration. Using default locale.