You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've hit the same problem and did some code hunting to see what was going on. Here's what I've found, thought it might help you resolve the issue:
STRawGroupDir overrides STGroup.loadTemplateFile to enables non-formal parsing. But, during formal parsing with GroupParser in the initial method, the parser does a callback to STGroup via the defineTemplateOrRegion method. This method then calls defineTemplate, which compiles the template, stores it in the templates variable and stores any implicitly defined template (such as anonymous template).
The problem with STRawGroupDir is not that it can't handle this kind of construct, but it doesn't do any caching at all of any previously defined template and will re-parse them every time. The fix should be trivial in STRawGroupDir: just ensure that the compiled template are stored in the group.
There seems to be a bug in 4.0.5 in iterating Lists when using STRawGroupDir. See this Unit test:
https://gist.github.com/1943633
The first test behaves as expected. The second throws an error. I expected both tests to pass.
The text was updated successfully, but these errors were encountered: