> -----Original Message-----
> From:
Richard Emberson [
remberson@...]
>
Sent: Friday, July 28, 2006 06:23
> To:
julian@...> 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 = ((MondrianMember)
>
member).getMonMember();
> return
(m.equals(oExp));
> }
>
>
To:
> public boolean equalMember(Object oExp, Member
member) {
> mondrian.olap.Member m =
((MondrianMember)
>
member).getMonMember();
>
mondrian.olap.Member oMon =
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.
>
>
> > Julian
> >
>
>
>
--------------------------------------------------------------
>
----------
> > *From:* Henry Olson [
holson@...]
>
> *Sent:* Thursday, July 27, 2006 22:03
>
> *To:*
julian@...>
> *Cc:* Richard Emberson
>
> *Subject:* Bug in mondrian-2.1.1-derby
distribution
> >
> > Julian,
>
>
> >
> >
>
> 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 must have gotten lost in the spam
> filter. If he
>
> takes your email, perhaps you could pass along this
test case.
> >
> >
>
>
> > Richard can supply the patch, if hes
not already done so
> >
>
>
> >
>
> 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
JPivot pivot table
>
> * Clicked on MDX toolbar
button
> >
> >
>
>
> > 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
> >
> >
· /Add 'Store' to Rows/
>
>
> >
· /Move 'Store' above
'Product'/
> >
> >
· /Click 'OK'/
>
>
> >
· /Expand 'All Stores'/
>
>
> >
· /Expand any 'Product'/
>
>
> >
> >
>
> àException Thrown
>
>
> >
> >
>
>
> >
>
> Thanks,
> >
>
>
> >
>
> 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.
>
-------------------------------------------------------------------------