Skip to content

putUncachedResultToCache is actually putting all items to cache. #45

@jackmiking

Description

@jackmiking

version 1.3.0.in CollectionCacheableCacheInterceptor line 89

 ReturnValueConverter.MapLikeReturnValue returnValue = operation.getReturnValueConverter().convert(uncachedResult, cacheResult);
        if (context.canPutToCache(uncachedResult)) {
            putUncachedResultToCache(returnValue, context);
            if (operation.isPutNull()) {
                putNullToCache(returnValue, idsArgument, context);
            }
        }

putUncachedResultToCache(returnValue, context); this line. should use uncachedResult value instead of returnValue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions