Re: D2W Query Problem
Aaron Rosenzweig <[email protected]> Sat, 19 Oct 2013 21:54:51 -0400
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
Hi Frederico, Interesting. Perhaps something about your data is returning duplicate values for checkHashCodes….. Normally the improvements in ERX version of WORepetition *fixes* problems instead of causing them. With a vanilla Apple WORepetition that has a sorted list you must be very careful. If you edit the attribute that the list is sorted on … well… everything falls apart. WO will not know how to synchronize values during takeValuesFromRequest() and all kinds of problems will result. Not many people understand this flaw and luckily never encounter it because they are using ERXWORepetition with all the flags enabled. The ERXWORepetition uses "hashCode()" to make a guess as to the original object you want to synchronize even when you change the attribute you are sorting on. ERXWORepetition will figure out which object to bind the changes to. But if "hashCode()" always returns the same number or is otherwise not built right, this will fall apart to. In truth, "hashCode()" is not guaranteed to be unique so it is a bit scary but is better than nothing. ERXWORepetition has another option, "eoSupport = true" that will use the GUID of an eo in the list to nail, beyond the shadow a doubt, the correct object to synch values to during takeValuesFromRequest. AARON ROSENZWEIG / Chat 'n Bike e: [email protected] t: (301) 956-2319 On Oct 17, 2013, at 9:26 AM, Frederico Lellis <[email protected]> wrote: > SOLVED: > > Never use er.extensions.ERXWORepetition.checkHashCodes=true > > > > > 2013/10/14 Frederico Lellis <[email protected]> > > Good morning everyone, > > I have an application D2W + ERModerLook. Everything is working fine except the queries. Independent of the query and filter past made without filters. The values are coming in the request but nothing appears on displayGroup When call method displayGroup.queryMatch(); > > any tips? > > thank you > -- > -- > ****************************************************** > > Frederico Lellis de Albuquerque > Analista Desenvolvedor Java Sênior. > Graduado Em Ciência da Computação > [email protected] > > ****************************************************** > > > > -- > -- > ****************************************************** > > Frederico Lellis de Albuquerque > Analista Desenvolvedor Java Sênior. > Graduado Em Ciência da Computação > [email protected] > > ****************************************************** > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk_______________________________________________ > Wonder-disc mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wonder-disc ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Wonder-disc mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wonder-disc