When a class is not allowed in the sitemap a DataList is attempted to be created regardless whether it exists or is even allowed in the sitemap. If the class does not exist this results in a "Can't find data classes (classes linked to tables)" error. If the class is a DataObject his results in a "the method 'canincludeingooglesitemap' does not exist" error. This pull request checks to see if the class is allowed in the sitemap, if it does not a 404 is returned.
When a class is not allowed in the sitemap a DataList is attempted to be created regardless whether it exists or is even allowed in the sitemap. If the class does not exist this results in a "Can't find data classes (classes linked to tables)" error. If the class is a DataObject his results in a "the method 'canincludeingooglesitemap' does not exist" error. This pull request checks to see if the class is allowed in the sitemap, if it does not a 404 is returned.