Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [ic] uploading images side-effect



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


Search for: Match: Format: Sort by: