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
"Filkov, Hristo" writes:
I saw that version 4.0.4 is already released and I am glad about it. We are still working with the old version 4.0.3 and I think I found another bug, which appears also in the new 4.0.4 version.
The problem is, that on a recursive call of the templates a parameter being passed through, suddenly changes its value between the calls. In order to demonstrate the bug, I build a little directory. You can find the expected result in a file inside between sources, string templates and classes. The value change happens in particular while the "std_field_text" is being called from the "generic_field". I left the debugging messages in the code for you.
The bug appears with Java 1.5 and 1.6 on WinXp machine.
I looked over the released notes of the new version 4.0.4, but I did not understood, whether the problems I mentioned in my previous e-mails are solved. Both problems had to do with formatting by a renderer. As a memory hook, here both pieces of code that didn't work.
In both cases I had to use a workaround to get the outputs formatted. Could you please tell me, if the current status with these problems has changed in Version 4.0.4.
The text was updated successfully, but these errors were encountered:
These templates are bound at the time they are rendered, which is a different context from where they are created. What you want to do is force these anonymous templates to bind and render in the current context and pass the evaluated result as the argument, with the syntax ({...}).
passes an anonymous template, referencing argument dropdown_field, to another template whose context does not have dropdown_field. ST does dynamic lookup of attributes and does not bind them like closures would in a programming language.
"Filkov, Hristo" writes:
I saw that version 4.0.4 is already released and I am glad about it. We are still working with the old version 4.0.3 and I think I found another bug, which appears also in the new 4.0.4 version.
The problem is, that on a recursive call of the templates a parameter being passed through, suddenly changes its value between the calls. In order to demonstrate the bug, I build a little directory. You can find the expected result in a file inside between sources, string templates and classes. The value change happens in particular while the "std_field_text" is being called from the "generic_field". I left the debugging messages in the code for you.
The bug appears with Java 1.5 and 1.6 on WinXp machine.
I looked over the released notes of the new version 4.0.4, but I did not understood, whether the problems I mentioned in my previous e-mails are solved. Both problems had to do with formatting by a renderer. As a memory hook, here both pieces of code that didn't work.
and
In both cases I had to use a workaround to get the outputs formatted. Could you please tell me, if the current status with these problems has changed in Version 4.0.4.
The text was updated successfully, but these errors were encountered: