Skip to content

fix SELECT name FROM ENTITY

Timm Fitschen requested to merge f-select-name-from-entity into dev

Summary

Fixes #130 (closed)

Focus

The actual fix is only a if(id>99) because the error occured when the result set contained some of the special entities (which are usually hidden to users).

Test Environment

Tests in caosdb-pyinttest!4 (merged)

Manual testing: checkout this branch in deploy and search FIND ENTITY or SELECT something FROM ENTITY.

Check List for the Author

  • All automated tests pass
  • Reference related Issues
  • Up-to-date CHANGELOG.md
  • Annotations in code (Gitlab comments)
    • Intent of new code
    • Problems with old code
    • Why this implementation?

Check List for the Reviewer

  • I understand the intent of this MR
  • All automated tests pass
  • Up-to-date CHANGELOG.md
  • The test environment setup works and the intended behavior is reproducible in the test environment
  • In-code documentation and comments are up-to-date.
  • Check: Are there spezifications? Are they satisfied?

For further good practices have a look at our review guidelines.

Edited by Florian Spreckelsen

Merge request reports

Loading