Bugfix/#183 item object title wrong cardinality
Bug fix
Summary
With this MR, the XPath for retrieving the title object of an item has been refined.
To check if this has been done correctly, go to https://ahikar-test.sub.uni-goettingen.de/api/textapi/ahikar/arabic-karshuni/3rx14-3/latest/item.json. This page should A) be available (which hasn't been the case before because of the bug) and B) should the title object have the following form:
"title" : [ {
"title" : "The Story and Proverbs of Ahiqar the Wise",
"type" : "main"
} ]
Compliance to “Definition of Done”
-
Unit tests passed -
Code reviewed -
Product Owner accepts the User Story
Changelog
-
I added a statement to the CHANGELOG.
Version number
-
I bumped the version number in build.properties
.
Readme and general docs
-
I updated the README (if applicable) and kept the docs up to date.
Closes
Closes #183 (closed)