Re: [JPivot-devel] Bug in mondrian-2.1.1-derby distribution
Brought to you by:
avix
|
From: Julian H. <ju...@hy...> - 2006-07-28 18:51:23
|
Thanks. I logged bug 1530578 = <http://sourceforge.net/support/tracker.php?aid=3D1530578> to track = this, and have checked in a fix. Julian > -----Original Message----- > From: Richard Emberson [mailto:rem...@ed...] > Sent: Friday, July 28, 2006 06:23 > To: ju...@hy... > Cc: 'Henry Olson' > Subject: Re: Bug in mondrian-2.1.1-derby distribution > > > In the class: com.tonbeller.jpivot.mondrian.MondrianQuaxUti > > change the equalMember method > From: > public boolean equalMember(Object oExp, Member member) { > mondrian.olap.Member m =3D ((MondrianMember) > member).getMonMember(); > return (m.equals(oExp)); > } > > To: > public boolean equalMember(Object oExp, Member member) { > mondrian.olap.Member m =3D ((MondrianMember) > member).getMonMember(); > mondrian.olap.Member oMon =3D toMember(oExp); > return (m.equals(oMon)); > } > > > Julian Hyde wrote: > > Can you send me the patch? I can't make a Jpivot release, but I can > > commit the change to Jpivot's CVS, and the next Mondrian > release will > > contain the bugfixed Jpivot. > >=20 > > Julian > > > > =20 > -------------------------------------------------------------- > ---------- > > *From:* Henry Olson [mailto:ho...@ed...] > > *Sent:* Thursday, July 27, 2006 22:03 > > *To:* ju...@hy... > > *Cc:* Richard Emberson > > *Subject:* Bug in mondrian-2.1.1-derby distribution > > > > Julian, > > > > =20 > > > > On Sunday I duplicated the failure sequence outlined > below with the > > mondrian-2.1.1-derby distribution. This seems to be a pretty > > serious bug in an unmodified distribution. On Wed., > Richard found > > the single line of code in JPivot where the problem originates. > > Perhaps Andreas is interested in the patch? I had > previously sent a > > note to Andreas =96 must have gotten lost in the spam > filter. If he > > takes your email, perhaps you could pass along this test case. > > > > =20 > > > > Richard can supply the patch, if he=92s not already done so=85 > > > > =20 > > > > Installing Mondrian-embedded: > > > > * Downloaded the distribution from Sourceforge > > * Extracted the war file: mondrian-embedded.war (from > > mondrian-2.1.1-derby.zip/mondrian-2.1.1-embedded/lib) to a > > temp directory > > * Uploaded to Tomcat 5.5 using the Tomcat Manager > Page/Deploy > > WAR file function > > * Clicked on /mondrian-embedded in the Tomcat Manager Page > > Applications List > > * Clicked on =93JPivot pivot table=94 > > * Clicked on =93MDX=94 toolbar button > > > > =20 > > > > Test case: > > > > * Paste in starting MDX > > > > select {[Measures].[Unit Sales]} ON COLUMNS, > > > > [Product].[All Products].Children ON ROWS > > > > from [Sales] > > > > * Execute the test case click stream below > > > > =B7 /Add 'Store' to Rows/ > > > > =B7 /Move 'Store' above 'Product'/ > > > > =B7 /Click 'OK'/ > > > > =B7 /Expand 'All Stores'/ > > > > =B7 /Expand any 'Product'/ > > > > =20 > > > > =E0Exception Thrown > > > > =20 > > > > =20 > > > > Thanks, > > > > =20 > > > > Henry > > > > > -- > This email message is for the sole use of the intended > recipient(s) and > may contain confidential information. Any unauthorized review, use, > disclosure or distribution is prohibited. If you are not the intended > recipient, please contact the sender by reply email and destroy all > copies of the original message. >=20 |