Bug in EwTableList>>#selectedColumns:

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

Bug in EwTableList>>#selectedColumns:

Postby Michael Keppler » Wed Feb 27, 2008 4:54 am

At the end of EwTableList>>#selectedColumns: you can find
Code: Select all
self cursoredHeading: resourceValue last

which probably needs to be
Code: Select all
self cursoredHeading: resourceValue last index

as the method cursoredHeading: expects an integer instead of a EwTableColumn instance

BTW: Is this the right place to report such bugs or is there another bug reporting system available?

Ciao, Michael
Michael Keppler
 
Posts: 28
Joined: Wed Feb 27, 2008 4:33 am

Re: Bug in EwTableList>>#selectedColumns:

Postby tc » Thu Feb 28, 2008 6:04 am

Hello,

Reporting bugs here is fine. Do you have an example that will produce the problem you are seeing?

Thanks.

--tc
tc
Moderator
 
Posts: 304
Joined: Tue Oct 17, 2006 7:40 am
Location: Raleigh, NC

Re: Bug in EwTableList>>#selectedColumns:

Postby Michael Keppler » Fri Feb 29, 2008 12:26 am

I have no real example. I developed a kind of GUI automation tool that I use for stress tests with our Smalltalk application. And that produced several similar walkbacks which I traced back to the above line of code. An example walkback has these last lines in the stack:
Code: Select all
EwTableColumn(Object)>>#error:
~self=an EwTableColumn
~arg1='EwTableColumn does not understand +'

EwTableColumn(Object)>>#doesNotUnderstand:
~self=an EwTableColumn
~arg1=Message (#+, (1))

EwTableList>>#cursorNextHeading
~self=an EwTableList

EwTableColumnMapper>>#autoCursorRight:
~self=an EwTableColumnMapper
~arg1=256
16r100


There are only 3 other methods which set the instance variable used in cursorNextHeading and of those 3 only the one reported by me doesn't set an integer value, but a EwTableColumn instead.
Michael Keppler
 
Posts: 28
Joined: Wed Feb 27, 2008 4:33 am


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest