[ic] uploading images side-effect

Paul R Stearns pauls@compuace.com
Tue, 28 Nov 2000 11:42:11 -0500


Mike:

How do I go about getting the new version of this file?

Paul

Mike Heins wrote:

> Quoting Mike Heins (mikeh@minivend.com):
> > Quoting Marcel Montes (marcel@multimake.com):
> > > After uploading images in the admin interface of the construct demo when
> > > it returns
> > > to the item edit page, several fields are erased (Long description, and
> > > size for instance)
> > >
> > > (RedHat 7, MySQL)
> >
> > Cannot duplicate.
>
> Oops, yes I can when "new file name" option is selected.  Found and
> fixed in CVS in the file lib/UI/vars/UI_STD_DBEDIT_TABLE.
>
> Elaboration for the source-curious: the $override variable was defined
> "my" outside the loop, so every field after the image one was
> trashed. Moving "my $override" inside the for(@cols) loop
> fixes it.
>
> --
> Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
> phone +1.513.523.7621 fax 7501 <heins@akopia.com>
>
> Clothes make the man.  Naked people have little or no influence on
> society.  -- Mark Twain
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users