test and fix #1079

#1079 In some cases I saw even dataViewId in the URL