- SonarQube Enterprise Edition Version 7.9.3 (build 33349)
We’ve been using portfolios successfully for some months now.
Yesterday someone created a new portfolio through the web UI.
For some reason this person entered a description for the portfolio that was 328 characters long.
And SonarQube allowed this person to do so.
Now since then, we are getting this error for most actions we try to do with portfolios:
Could not load views definition file. Please validate views.def against schema at <sonar.host.url>/static/governance/views.xsd
It seems like the xsd available at that URI sets a limit of 256 characters.
We have tried deleting it through the API, and we have tried too what is suggested here (to update the definition by posting a new one with api/views/define) Api/views/list returns Could not load views definition file error
None of them have worked. We keep getting the same error.
Any help or guidance is welcome.
By the way, we believe this is a bug (you can enter a decription longer than 256 char for portfolio and then you break the portfolios feature). Not sure if it was reported earlier.