Cannot Open Custom Control: 'XSP Editor' Tab

Hello,

We have built a custom control which will automatically display a view which we send it the name of. This works perfectly in 8.5 but when we try to open it in 8.5.1 it opens a new tab named ‘XSP Editor’. Clicking on this tab does nothing.

The code we are using to compute the compute the columns and headings is shown below (not as it appears)

custom control data - sessionScope.viewToDisplay

title -myView.getName()

coltitle-myView.getColumnNames()[0]

myView.getColumnNames()[0]

col vis-var thisCol = 2;

var myCols = myView.getColumnCount();

if (thisCol > myCols) {

return false

}

return true

colform-var thisCol = 2;

var myCols = myView.getColumnCount();

if (thisCol > myCols) {

return myView.getColumnNames()[0];

}

return myView.getColumnNames()[thisCol-1]

Does anyone know why this might be happening? Is any of the code we are using changed between 8.5 and 8.5.1 ?

Thanks