Skip to content

Commit

Permalink
Add default value if missing
Browse files Browse the repository at this point in the history
Fixes error:
Error sorting via store indexer Invalid property requested: isSoftReference Valid properties are: coldfusion.runtime.CustomException:
Invalid property requested: isSoftReference
  • Loading branch information
aliaspooryorik committed Apr 25, 2024
1 parent fb9d585 commit 5e2c255
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system/cache/store/ConcurrentSoftReferenceStore.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ component extends="coldbox.system.cache.store.ConcurrentStore" accessors=true {
if (
!isNull( local.softRef ) && variables.indexer.getObjectMetadataProperty(
arguments.objectKey,
"isSoftReference"
"isSoftReference",
false
)
) {
variables.softRefKeyMap.remove( softRef.hashCode() );
Expand Down

0 comments on commit 5e2c255

Please sign in to comment.