-
Notifications
You must be signed in to change notification settings - Fork 15
REGRESSION - Cannot do repo query: 'Present' query reports that historical query not supported #427
Comments
This works ok with inmemory (presumably as historical queries are supported) - the failure is specifically for graph repo which is the default for the base chart (and an option for the notebooks) |
@planetf1 - it works for me using the graph repository current egeria master and the current main from egeria-react-ui. I have repository content. |
I do not understand why it failing for you. Maybe it is because you have not got any entities? does it work if you have entities? If I look for a type that does not have any entities it does not fail for me. sorry I cannot recreate this, I am not sure what I am missing. |
I have upgraded to the latest master and get the same results. If I switch to past and specify a date then it correctly gives the error popup you see. |
I see my view server in the server dropdown - I would have expected to see the view server in your server dropdown, if you had it set up the same as me. Could that be the cause of your issue? Or are you using a separate platform for the metadata server and the view server? |
I have redeployed and get the same error. You are correct there are probably no entities yet. The error on the ui container is:
|
Whether the view server appears or not is down to the DINO configuration. We have two standard charts - in the coco one the view server is in DINO's list. We also have an 'egeria-base' chart, and in this one the view server is not. So in that regard they are both working as designed (coded!) |
I created a couple of assets and get the same error. |
The only place I can see the unsupported function is when asOfTime is used ie (graph repo connector )
As an aside the error
is arguably incorrect. The function is implemented, it just doesn't support one of the options. This information makes it to a log.error(), but not into the exception - so we should probably raise an issue on egeria base to improve the error. Though the react UI exception is accurate/complete. However the question is why a historical query is being used when that slider is on the 'present' side |
Checking the versions: On quay.io:
And from the pod on k8s
ie they match, we are running the latest container build And checking the source, the latest commit was indeed Wed Apr 13, so this all ties up - I think I'm running the latest code |
Same behaviour on chrome+safari (latest versions of each) |
My failing search is for '.*' , with my 'mds1' metadata server selected, and with everything else left as default |
If you have access to k8s and want to reproduce:
|
Built and ran (prod) the UI from source, but pointed to my deployed view/mds servers (which are at 3.8 release version) Same error occurs. |
If it helps, here is chrome's 'copy as cURL' version - where present is selected
And this does fail with:
When instead the toggle is set to historic the request is:
Only in this second case is 'asOfTime' specified -- as I'd expect. This tends to suggest it is the back-end view server where the issue lies, rather than the react UI (those two were taken from my locally running UI, but k8s backend) |
I'm not familar with the rex/view service code, but a cursory glance seems to suggest that the asOfTime should be null, and the converted date also null, which is then passed to the graph repo, so shouldnt hit that condition . |
@planetf1 thanks for your investigation - there was a server fix I had that was not applied to master- I have raised pr odpi/egeria#6448. This pr should fix this. |
Ok will retest and rebuild once merged |
I have now retested. The behaviour has changed but is not fully fixed. Using the 'egeria-base' helm chart again. Graph repo, just 2 entities in the repo. When the UI is first launched the past/present toggle is green (to the right/present). A query works . CORRECT It appears as if the use of historical query is based on the mm/dd/yyyy being non-null, rather than the value of the toggle which isn't at all what one would expect. So it's better but still incorrect. |
Just checking iI understand what you are saying.
I will have a look tomorrow and make 2 more intuitive. 4. looks like a bug. |
Testing of latest image (as of 23:00)
I suspect other combinations are possible. At some point after a few interactions it appears as if state is confused, additionally state is being kept between login sessions/reloads. So still looks quite buggy. That being said, The basic interaction works. Historical searches are a new feature. Perhaps we just add something to the release notes to indicate it's incomplete, possibly refer to this issue, and go ahead with shipping the UI for 3.8 release. |
Great testing @planetf1 I appreciate it :-) I will look at it today |
I have it working - there is one quirk - the data is displaying as a full string in the date box nit as mm/dd/yyyy format. I have merged. Working through this display of the date. |
The latest change has fixed these issues - looks good for inmem & graph |
Testing 3.8.0-rc.0 against egeria 3.8 ('base' chart)


This occurs on EVERY SEARCH with the graph repository (default for the egeria-base chart)
ie broken.
The text was updated successfully, but these errors were encountered: