You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
isApiCoveredByServerKey method may incorrectly return false, if it so happens that a new catalogue will be loaded between the retrieval of the apiElement, and calling the isApiCoveredByServerKey method.
This can be easily fixed by caching a reference to the internal CatalogueDocument in all of the returned apiEntry elements. One side effect of that is that the CatalogueDocument won't be garbage-collected, if the user chooses to cache apiEntry elements somewhere. We should educate the developers not to do that.
The text was updated successfully, but these errors were encountered:
Caching API entry elements may cause exceptions if tests run more than 1 minute:
erasmus-without-paper/ewp-registry-client#8
Change-Id: I453441dfe4f49353be61558cfd04a752c6a8f3e5
isApiCoveredByServerKey
method may incorrectly returnfalse
, if it so happens that a new catalogue will be loaded between the retrieval of theapiElement
, and calling theisApiCoveredByServerKey
method.This can be easily fixed by caching a reference to the internal
CatalogueDocument
in all of the returnedapiEntry
elements. One side effect of that is that theCatalogueDocument
won't be garbage-collected, if the user chooses to cacheapiEntry
elements somewhere. We should educate the developers not to do that.The text was updated successfully, but these errors were encountered: