Question David.Satorres6134 · Oct 22, 2018

%CacheObject on Iris - SOLVED

Hi all,

We are moving to IRIS our productions, and everything seems to go fine. But we are facing a problem because we are using the object %Library. CacheObject in some classes, and IRIS doesn't seem to recognize it. At the IRIS documentation (https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic…) the object is effectively removed, and I can't find the equivalent.

Has anyone faced this? Which is the new object in IRIS? 

Comments

Dmitry Maslennikov · Oct 22, 2018

%CacheObject was replaced with %Compiler.Type.Object. But this class was and still for internal use, how do you use it?

0
David.Satorres6134  Oct 22, 2018 to Dmitry Maslennikov

Hi Dmitry,

Thanks for your help, I've been able to compile the class and start the production.

We are using it in a legacy class meant help with the JSON. Anyway, it's working now :-)

0
Benjamin De Boe  Oct 22, 2018 to Dmitry Maslennikov

Perhaps also worth noting that %CacheObject is often mistakenly used for what should have been %ObjectHandle or %Base. Scenarios where user code would really need %Compiler.Type.Object are indeed very rare and thus intriguing :-)

0