fix notice if for instance goals plugin is disabled
fallback to default viewDataTable in case the given type does not exist