VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: sternsys on April 22, 2008, 01:22:39 AM

Title: Custom User Fields: can't change multiple choice entries/no delete
Post by: sternsys on April 22, 2008, 01:22:39 AM
The Custom User Field function is FABULOUS!   ;D  My usage is to create a "Checkbox (multiple)" menu for customers to choose a preferred dealer to ship from. 

However, if I change the title or value of any existing checkbox choices, the changes are not reflected on that row.  Rather, a new row is added, and if I make multiple changes, several new rows are added.  This occurs regardless of the type of field (drop down, checkbox, etc.)

Aside from fixing this bug, there is an "add a value" function, but there is no "remove a value" function to delete a choice from the menu.
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: jenkinhill on April 22, 2008, 10:51:46 AM
Which version of Joomla & which release of VirtueMart?

If you believe you have identified a bug in VirtueMart 1.1 RC3 please report  using this template:
http://forum.virtuemart.net/index.php?topic=31709.0
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: sternsys on April 22, 2008, 20:24:50 PM
Description:
If I change the title or value of any existing checkbox choices, the changes are not reflected on that row.  Rather, a new row is added, and if I make multiple changes, several new rows are added.  This occurs regardless of the type of field (drop down, checkbox, etc.)

Aside from fixing this bug, there is an "add a value" function, but there is no "remove a value" function to delete a choice from the menu..

VirtueMart Version:
VM 1.1 RC3 nightly build from Apr 18

Joomla/Mambo Version:
Joomla 1.0.13

Steps to replicate:
Issue occurs in Extended View.  Under Admin > Manage User Fields > New > Select Drop Down (single select) as field type > complete the rest as normal including multiple choices for Title and Value > Save > Go back in to edit the Titles and Values > No Remove button, so I must edit existing entries > Save > Check live page for changes, reveals that original titles and values remained, and any changes I made resulted in new Titles/Values.

Proposed fix(es):
Not sure of fix to Titles/Values not reflecting the edits, but there should be a Remove/Delete button to remove unwanted rows.

Bugtracker task #:


System info:
Server info: Linux, Apache , PHP 5.2.5, Mysql 5.0.45
My browser info: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: korb on April 22, 2008, 21:32:01 PM
man...
VM 1.1 RC3 (and 1.1 stable resease soon) is especialy for Joomla 1.5X, so you cannot develop a site with this configuration.
For Joomla 1.0.xx you should use VM 1.0x.
Ciao
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: sternsys on April 22, 2008, 21:58:08 PM
Korb, thanks for your message.  I do understand that these are not stable releases.  But someone please correct me if I'm wrong, but there are two versions of VM 1.1 RC3...one for Joomla 1.5 and one for Joomla 1.0.xx.  They're both right there in the downloads directory (nightly builds):

https://dev.virtuemart.net/cb/proj/doc.do?doc_id=1328 (https://dev.virtuemart.net/cb/proj/doc.do?doc_id=1328)
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: korb on April 23, 2008, 01:51:34 AM
VM 1.1 RC3 is actualy a release of VM                   FOR Joomla 1.5x

VM 1.1 NightlyBuild is the development version     FOR Joomla 1.5x (this version is updated most times everyday)

VM 1.0.15 is the latest stable version   (today)     FOR Joomla 1.0.15 (and Joomla 1.52 in Legacy Mode - compatibility option)

VM 1.1.0 Stable should be released soon              FOR Joomla 1.5.X ONLY
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: jenkinhill on April 23, 2008, 12:31:26 PM
Quote from: korb on April 23, 2008, 01:51:34 AM
VM 1.1.0 Stable should be released soon              FOR Joomla 1.5.X ONLY

Wrong. VirtueMart 1.1 is built and tested for use with Joomla 1.0.x and with 1.5.x

Because of the different Joomla install requirements there are 1.0.x and 1.5.x component/module sets.
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: sternsys on April 23, 2008, 18:14:22 PM
Thanks for that clarification, Jenkinhill.  With what Korb wrote, I thought I was goin' crazy or something.
:)

Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: korb on April 25, 2008, 20:47:32 PM
Sorry for the mess, I wanted to say: VM 1.1 is better in use with Joomla 1.5.x rather than with joomla 1.0.15
Sorry, and promise to think twice (in english) before I write, and reread my posts
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: sternsys on April 25, 2008, 21:11:02 PM
Korb, no worries at all.   Thanks for the note.  I appreciate your input.

The stable release of 1.1 is GREAT.  It looks and works fabulously.  The issues mentioned above are not solved, but I'm very happy with it overall. 
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: aravot on April 25, 2008, 21:14:35 PM
Be sure that all reported issues are tested, verified and noted to be fixed in later versions of VirtueMart.
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: PaulJaq on March 03, 2009, 13:29:54 PM
So did anyone find out what the original problem is?   ???
I have the same problem - trying to make a drop down list for selecting a dealer.
It defaults to the last item on the list. If you scroll to the top then 'select' is a valid option, which it obviously shouldn't be.
Also if you try to edit fields, they seem to multiply

I'm using Joomla 1.5.6 and Vituemart 1.1.3 stable
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: aravot on March 03, 2009, 20:45:44 PM
I have not tested this yet (no time) but I think it is fixed in SVN.
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: Tentaurus on March 04, 2009, 09:50:08 AM
...still exists in 1.1.3 (Joomla 1.5.9).
Changing the field table (adding / changing values) creates double entries in the database.
My solution was to edit the db table "_userfield_values" directly.
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: aravot on March 04, 2009, 17:55:33 PM
Like I said, I think it is fixed in SVN, I don't have to test everything, if you want download a copy from SVN and give us a feedback.
Title: Re: Custom User Fields: can't change multiple choice entries/no delete
Post by: mauri on March 04, 2009, 18:42:53 PM
I test this too. It works.
J!1.5.9
VM 1.1.3 svn 1669