girishla / bic

0 stars 0 forks source link

getAllReportsMetadata errors our due to error from BI Server #14

Closed girishla closed 7 years ago

girishla commented 7 years ago

Error seen in console:

TypeError: Cannot read property '0' of null at eval (eval at (main.module.js:1861), :273:61) at Object.forEach (eval at (main.module.js:1111), :321:20) at Object.getAllReportsMetadata (eval at (main.module.js:1861), :271:21) at eval (eval at (main.module.js:2515), :26:46) at processQueue (eval at (main.module.js:1111), :16383:28) at eval (eval at (main.module.js:1111), :16399:27) at Scope.$eval (eval at (main.module.js:1111), :17682:28) at Scope.$digest (eval at (main.module.js:1111), :17495:31) at Scope.$apply (eval at (main.module.js:1111), :17790:24) at done (eval at (main.module.js:1111), :11831:47)

Error received from BI server:

{t:6,"fatal":true}CbQuSsySPfs0{"msg":"You do not currently have sufficient privileges to save a report or dashboard page that contains HTML markup. This HTML might be present in column headings, table headings, text views, ticker views, narrative views, the print header, or the print footer and must be removed before saving.", "linked":[ null]}"

girishla commented 7 years ago

This error is because statepath may be null in some cases possible due to a OBI product bug where xmlisland does not contain all the current statepaths