GH 1256. Fix cached modeled framework list#1257
Conversation
kezhuw
left a comment
There was a problem hiding this comment.
Looks good.
But I was confused in review regarding the CachedModeledFramework::list and ModeledCache::currentChildren.
CachedModeledFramework::listignores data tree hierarchy.childdoes not change the result.ModeledCache::currentChildrenincludes the path itself and and is recursive.
I think we probably should hightlight some to gain attention.
|
@kezhuw thanks! A few observations here:
Is your suggestion to add the word "recursively" to the doc somewhere in Tangentially, something I found strange is that |
|
@kotman12 Merged. Thank you for your contribution!
Yeh, I saw. Regarding |
Fix
CachedModeledFramework::listso it returns unfiltered list of children based on the cache path (not client path). See #1256 for more details.Also added really minor fix to
CachedModeledFramework::readThrough(Stat). This surfaced after I enhanced the tests a bit. This bug predates #1250