22
Views
3
Comments
[MemoryCache] GetText is returning -undefined-
Question
memorycache
Service icon
Forge asset by André Siébra
Hi,

i was testing this extension and when i do a Cache_GetText on a new Key, i get -undefined-.

How can i identify if the cache exists or not?

I'm using version 9.1

Thanks.
2017-10-09 20-45-22
André Siébra
Hi Joel,

Action Cache_GetText returns empty when you pass an invalid Key. Therefore, to indentify if cache exists or not you only need to verify if this action returns empty.

This component was published for platform 9.0.1.20. Maybe you are experiencing some incompatibility issue... Anyway, I have plans to publish a new version compatible with 9.1.500 as soon as it is available (probably this week).
2018-05-04 12-53-13
Joel Alexandre
Staff
I'm doing:
CacheGetCache.Text  = ""
and it's never True.

Let me know if you can replicate the behaviour with 9.1.

Thanks.



2017-10-09 20-45-22
André Siébra
Hi Joel,

The new version is already available in the Forge. It is compatible with Development Envinroment 9.1.301. 

There is a fix for the issue you have reported. If the problem persists, try to check if you are using Cache_GetText Action to get a binary item (it's correct to return -undefined- in this case). 

Thank you very much for the feedback!

Cheers,
André Siébra.
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.