VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: capewellmj on May 05, 2014, 22:50:36 PM

Title: Cannot delete fields from orders
Post by: capewellmj on May 05, 2014, 22:50:36 PM
Hello

I have found a bug with VM 2.6.0 Joomla 2.5.20.

When I go into the orders in the backend. If I try to delete a field name and click save it does not delete it. The name pops back up again after I click Save Order Head.

If I try to update the fields name however it WILL update to something. I just I cannot delete the name completely.

This is true of fields that are not required such as Company and Address 2 fields.

Can someone help me fix this bug.

Martin

Title: Re: Cannot delete fields from orders
Post by: Milbo on May 07, 2014, 13:05:49 PM
Thank you, found and fixed in both versions (vm2.6 and vm2.9)
Title: Re: Cannot delete fields from orders
Post by: capewellmj on May 07, 2014, 21:04:39 PM
Great!
Title: Re: Cannot delete fields from orders
Post by: Milbo on May 07, 2014, 21:52:34 PM
and does it work with? http://dev.virtuemart.net/attachments/download/703/com_virtuemart.2.6.0a_extract_first.zip
Title: Re: Cannot delete fields from orders
Post by: capewellmj on May 07, 2014, 22:24:07 PM
Wait, no it still doesn't work.

Martin
Title: Re: Cannot delete fields from orders
Post by: Milbo on May 08, 2014, 17:13:21 PM
Works for me. I replaced an !empty against an Isset

can someone else test?
Title: Re: Cannot delete fields from orders
Post by: capewellmj on May 08, 2014, 17:24:31 PM
I deleted Address line 2. Saved order head, and the name popped back again for me.

Martin
Title: Re: Cannot delete fields from orders
Post by: jenkinhill on May 08, 2014, 17:57:32 PM
I can delete fields in orders, save, and they are gone. So works fine. VM2.6a
Title: Re: Cannot delete fields from orders
Post by: capewellmj on May 08, 2014, 18:00:01 PM
Ok I just realized it was the Ship To side of the addresses. I can update the billing address fields now but not the shipping address fields.

Can you test that?

Martin
Title: Re: Cannot delete fields from orders
Post by: jenkinhill on May 08, 2014, 19:02:13 PM
OK in shipping  address I cannot delete an entry, only edit it. And if I add content to a previously empty field & save then that entry cannot be deleted, just edited.

But then I ask "Why would I want to delete a shipping field?"If I don't ant an entry to display I can just replace it with a single space. Then the entry "vanishes".
Title: Re: Cannot delete fields from orders
Post by: Milbo on May 08, 2014, 19:18:38 PM
at least a workaround, thanks for testing.