Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FindEntity fails with property with an int64 number #88

Closed
prashastk opened this issue Mar 7, 2019 · 1 comment · Fixed by #99
Closed

FindEntity fails with property with an int64 number #88

prashastk opened this issue Mar 7, 2019 · 1 comment · Fixed by #99
Assignees
Labels
Bug Indicates unexpected or undesired behaviors

Comments

@prashastk
Copy link

Added entity with:

[{'AddEntity': {'class': 'Cell',
                'properties': {'cell_id.number': 2674,
                               'cell_id.time': 1544069566053,
                               'num_images': 2,
                               'sample_id': '1134'}}}]
[{'AddEntity': {'info': '', 'status': 0}}] []

This FindEntity succeeds:

[{'FindEntity': {'class': 'Cell', 'results': {'list': ['cell_id.number', 'sample_id']}}}]
[{'FindEntity': {'entities': [{'cell_id.number': 2674, 'sample_id': '1134'}], 'returned': 1, 'status': 0}}] []

This FindEntity fails:

[{'FindEntity': {'class': 'Cell', 'results': {'list': ['cell_id.number', 'cell_id.time']}}}]
[{'FailedCommand': 'Transaction', 'info': 'Failed PMGDTransaction', 'status': -1}] []

# Server error
{
   "info" : "ReadOnly: ",
   "status" : -1
}

If I insert a smaller integer for cell_id.time then it works fine.

@vishakha041
Copy link
Contributor

This seems to be a lost in translation situation between the server and PMGD. Thank you for pointing it out. We will try to reproduce it and add a test as well.

@luisremis luisremis added the Bug Indicates unexpected or undesired behaviors label Mar 15, 2019
@vishakha041 vishakha041 assigned vishakha041 and unassigned luisremis Mar 29, 2019
cwlacewe added a commit to cwlacewe/vdms that referenced this issue Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Indicates unexpected or undesired behaviors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants