Hi Adam, You are welcome! I am glad I could be of any help. Also, I am glad to inform that, thanks to your patch, the bug is not showing up in the full version of my code.
Sincerely, Saulo On Mon, Aug 8, 2016 at 2:50 PM, Adam Chlipala <[email protected]> wrote: > I think I've fixed the Ur/Web bug now. At least, your example now works > as I'd expect. > > Thanks for taking the time to minimize the example. Despite the short > fix, the problem was enough work to deduce in the minimized code. :) > > > On 08/04/2016 08:22 AM, Saulo Araujo wrote: > >> Hi Adam, >> >> It took me some time, but after a lot of code removal (FFI, database and >> logic) I believe I have a small test case that shows the bug. You can get >> it with the command >> >> git clone -b bug https://github.com/saulo2/timesheet-ur.git >> >> To reproduce the bug, follow the steps below: >> >> 1) click the first button (a list of other buttons will be shown below >> the first button) >> 2) click the button associated to "Project 1" >> 3) click the first button again (the list of buttons will be hidden) >> 4) click the first button one last time (a JavaScript alert saying >> "Failed to execute append child on Node..." will be shown) >> >> Also, I found out that if you change line 76 from >> >> <button dynClass={dynClass} onclick={onclick}> >> >> to >> >> <button onclick={onclick}> >> >> the bug does not show up. Therefore, maybe the bug is related to the >> dynClass JavaScript function. >> >> If is there anything else that I can do to help, please let me know. >> >> Sincerely, >> Saulo >> > > _______________________________________________ > Ur mailing list > [email protected] > http://www.impredicative.com/cgi-bin/mailman/listinfo/ur >
_______________________________________________ Ur mailing list [email protected] http://www.impredicative.com/cgi-bin/mailman/listinfo/ur
