Eve
Eve copied to clipboard
Crash when searching for all divs in the browser and binding to a view
See the below code. Note that Eve will not crash if you only search for a specific div you have created. If you count the number of matches with the count aggregate, the search surprisingly returns 3 matches, so that may have something to do with it.
commit @browser
[#div]
search @browser
d = [#div]
bind @view
[#value value: d]
When you say crash, what happens?
This will run infinitely because creating views creates divs which then recurses forever. @joshuafcole maybe we should think about having view go through some other display db?
@ibdknox: its actually designed to. Its just being shoehorned through @browser like @editor is since we dont have configurable db policies yet and the old client indexing doesn't support multi-dbs. The latter issue is 1-2 full days, to fix. Whats do you think the eta tor the former is?
On Tue, Nov 22, 2016, 09:55 Chris Granger [email protected] wrote:
When you say crash, what happens?
This will run infinitely because creating views creates divs which then recurses forever. @joshuafcole https://github.com/joshuafcole maybe we should think about having view go through some other display db?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/witheve/Eve/issues/591#issuecomment-262314881, or mute the thread https://github.com/notifications/unsubscribe-auth/AATKDlyE7YhxfIxFPNQ_fVViCEIQquL5ks5rAyx-gaJpZM4K5JGi .
configurable db policies
hm? Do you mean what is sent to the client or not? There's nothing magical about that, we would use a db impl that sends.
When you say crash, what happens?
Eve freezes and you have to kill the process then modify the source file so it doesn't freeze again when you start it back up.