Modified TryGetMember so that it doesn't cache the values provided by the
Tridion package. Modified AddPackageItem and renamed it to
GetDynamicItemFromTridionPackageItem in support of the same goal.
Caching these values is not helpful, because the value returned by the Tridion
package can change within the lifetime of the cache. (You could consider
surfacing .Remove() in the DynamicPackage, and using that to dirty the cache,
although that would still leave possible problems with people accessing the
package directly.)
This patch works for me, but I'd suggest a further review rather than just
following my approach. Ping me if I can help.
Original issue reported on code.google.com by dominic....@gmail.com on 3 Dec 2012 at 3:56
Original issue reported on code.google.com by
dominic....@gmail.com
on 3 Dec 2012 at 3:56Attachments: