ISN-Zurich / PersonalDossiers

A repository about the Personal Dossiers Project in ISN. It is about the development of a "collecting mechanism" of dossiers-items already hosted in ISN's digital library and transformation of this collection into user-defined educational modules.
0 stars 0 forks source link

Backend: Set a marker in the cach database if a new object is requested from the KMS. #152

Closed ISN-Zurich closed 10 years ago

ISN-Zurich commented 10 years ago

current behaviour:

If two add bookmark requests for an uncached KMS object are received, the caching database will contain two objects. This must be avoided.

Proposed solution: before a KMS object is actually requested from the KMS, the backend should create a placeholder object in the caching database to indicate to following requests that the object's data will soon be available and no second object needs to be created.

zielperson commented 10 years ago

MArk: maybe just use replace into instead