News:

Support the VirtueMart project and become a member

Main Menu

Custom User Fields: can't change multiple choice entries/no delete

Started by sternsys, April 22, 2008, 01:22:39 AM

Previous topic - Next topic

sternsys

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.

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

sternsys

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

korb

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

sternsys

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

korb

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

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

sternsys

Thanks for that clarification, Jenkinhill.  With what Korb wrote, I thought I was goin' crazy or something.
:)


korb

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

sternsys

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. 


PaulJaq

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


Tentaurus

...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.

aravot

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.