dataquest-dev / DSpace

(Official) The DSpace digital asset management system that powers your Institutional Repository
https://wiki.lyrasis.org/display/DSDOC7x/
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

The IP address is stored multiple times in the `user_metadata` table #717

Closed milanmajchrak closed 3 months ago

milanmajchrak commented 3 months ago

During the downloading of a restricted item, when the user has to provide some information about themselves, the data is saved into the user_metadata table. However, the IP address insertion does not work correctly. The IP address is inserted based on the count of downloads, resulting in more than one record in the end.

Useful endpoint: ClarinUserMetadataRestController -> manageUserMetadata

Image