Avatar

Hidden zones not displayed on the web page

0

After I removed all the zones from test db using remove method, but it shows there are still 39 results not displayed, and I can get the Geotab id of these zones. But if I try to remove them, an error is showing,

{"error":{"name":"JSONRPCError","message":"Group above user data scope or entity Id is not in the system","errors":[{"name":"InvalidOperationException","message":"Group above user data scope or entity Id is not in the system","stackTrace":"   at Geotab.Checkmate.ObjectModel.DataStore.ValidateScope(IGroupLinked entity) in c:\\ProgramData\\GEOTAB\\Checkmate\\BuildServer\\Checkmate 5.7.38702\\WorkingDirectory\\Checkmate\\Geotab.Checkmate.Database\\Geotab\\Checkmate\\ObjectModel\\DataStore.cs:line 717\r\n   at Geotab.Checkmate.ObjectModel.DataStore.Remove[T](T entity) in c:\\ProgramData\\GEOTAB\\Checkmate\\BuildServer\\Checkmate 5.7.38702\\WorkingDirectory\\Checkmate\\Geotab.Checkmate.Database\\Geotab\\Checkmate\\ObjectModel\\DataStore.core.cs:line 190"}]}}

The attached file is a screenshot of the zone web page. Any idea of the reason and solutions? Thanks.

 

 




Geotab_zones.jpg
Rita Hou

Please sign in to leave a comment.

3 comments

Avatar

Rita,

I spoke with you about your project a few weeks ago on a conference call.

I can't speak to the error you are receiving, but make sure you have access to the top level group and an admin (most likely security issue).

When I spoke with you about zones, what I was saying was you should probably just change the "activeTo" property of the zone so it will expire.  You most likely don't want to remove the zone because you want to retain your history in Geotab for reporting. 

I have a Feature Request in with Geotab to add a "activeFrom" property on the ZoneSearch object and to provide a filter in the UI so you don't have to see the expired zones.  However, I know you are looking at more than 500 zones anyway so that UI part does not matter to you so much.

 

Michael Head

0
Comment actions Permalink
Michael Head 0 votes
Avatar

Hi Michael,

 

Thanks for your reply. You're right that we don't want to delete the expired zones instead we'll change the active To field to filter it out. And I also check the zones which can't display, I believe all of them are not expired. The reason I'm asking this question is if there are zones that we can't touch stay there, it may become tricky some time, even not now. I'm not sure if this is only on test db or also production db, but it's better to pay attention on it.

 

Thanks,

Rita Hou

0
Comment actions Permalink
Rita Hou 0 votes
Avatar

Hi Rita,

Can you create a support case for this issue?

I think this is worth someone here at Geotab investigating further and if you submit the case we can be sure you will be properly notified of the results of the investigation and fix if necessary.

Thanks,

Steve

0
Comment actions Permalink
Steve Hansen 0 votes