-
Notifications
You must be signed in to change notification settings - Fork 1.2k
GH 1256. Fix cached modeled framework list #1257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH 1256. Fix cached modeled framework list #1257
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
But I was confused in review regarding the CachedModeledFramework::list
and ModeledCache::currentChildren
.
CachedModeledFramework::list
ignores data tree hierarchy.child
does not change the result.ModeledCache::currentChildren
includes 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::list
so 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