diff --git a/CHANGELOG.md b/CHANGELOG.md index 63beaa9f434b80d3e05513724e7113168fd3566c..2553c6f61a2bf22cdc2d69640c682d983d7e5237 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 parents. * Test for [caosdb-server#192](https://gitlab.com/caosdb/caosdb-server/-/issues/192) * Test for miscellaneous *-too-long errors. +* Test for [caosdb-server#263](https://gitlab.com/linkahead/linkahead-server/-/issues/263): Unexpected server error when attempting to retrieve internal ROLE + entities. ### Changed (for changes in existing functionality) diff --git a/tests/test_issues_server.py b/tests/test_issues_server.py index 8bedd0250a9b256c12edaf6c0155b7eb39c64d4f..d3f11b3f7f85c49ddd58db5b84ca81d7f4d4716a 100644 --- a/tests/test_issues_server.py +++ b/tests/test_issues_server.py @@ -1505,3 +1505,11 @@ def test_253(): for string in test_strings: results = db.execute_query(f"FIND Entity with prop={string}") assert len(results) == 0 + + +@pytest.mark.xfail(reason="https://gitlab.com/linkahead/linkahead-server/-/issues/263") +def test_263(): + with pytest.raises(TransactionError) as exc: + db.Record(name="1").retrieve() + assert len(exc.errors) == 1 + assert exc.errors[0].msg == "Entity does not exist." # TODO Or whatever the message shall be.