Cannot Reproduce
Details
Assignee
Julian LadischJulian LadischReporter
Sobha DuvvuriSobha DuvvuriLabels
Priority
TBDStory Points
0Sprint
NoneDevelopment Team
Core: PlatformTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Julian Ladisch
Julian LadischReporter
Sobha Duvvuri
Sobha DuvvuriLabels
Priority
Story Points
0
Sprint
None
Development Team
Core: Platform
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created July 16, 2019 at 7:09 PM
Updated December 3, 2019 at 12:05 PM
Resolved December 3, 2019 at 12:05 PM
On updating an inventory record, we see metadata - createdDate and updatedDate being updated and both being set to same timestamp.
Steps to reproduce:
1. Go to Inventory app
2. Filter by "English"
3. Select "A Semantic webprimer"
4. Select Item record 10101 and update Item Data -> Material type from "book" to "dvd"
5. A PUT request is sent to https://folio-clover-okapi.aws.indexdata.com/inventory/items/7212ba6a-8dcf-45a1-be9a-ffaa847c4423 returning a 204
6. Then, there are a few GET requests that are sent out as part of the update and refreshing the UI page.
7. GET https://folio-clover-okapi.aws.indexdata.com/inventory/items/7212ba6a-8dcf-45a1-be9a-ffaa847c4423 - gives a response like below where metadata - createdDate and updatedDate are set to same
8. GET request sent to https://folio-clover-okapi.aws.indexdata.com/inventory/instances/5bf370e0-8cca-4d9c-82e4-5170ab2a0a39 returns metadata with null values for createdDate and updatedDate
9. Another GET request is made to https://folio-clover-okapi.aws.indexdata.com/inventory/instances/5bf370e0-8cca-4d9c-82e4-5170ab2a0a39 which gives metadata as null - why is a second request being made and why did metadata values change?
9. Two requests are made to GET https://folio-clover-okapi.aws.indexdata.com/users?query=%28id%3D%3D%220f36ec69-3569-5264-9648-6d7ac57c0754%22%20or%20id%3D%3D%220f36ec69-3569-5264-9648-6d7ac57c0754%22%29 - unsure why there are 2 requests to get the same user and also unsure why the query has (id=="0f36ec69-3569-5264-9648-6d7ac57c0754" or id=="0f36ec69-3569-5264-9648-6d7ac57c0754")