Author Topic: Cannot delete fields from orders  (Read 4059 times)

capewellmj

  • Jr. Member
  • **
  • Posts: 93
Cannot delete fields from orders
« 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


Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9720
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Cannot delete fields from orders
« Reply #1 on: May 07, 2014, 13:05:49 pm »
Thank you, found and fixed in both versions (vm2.6 and vm2.9)
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

capewellmj

  • Jr. Member
  • **
  • Posts: 93
Re: Cannot delete fields from orders
« Reply #2 on: May 07, 2014, 21:04:39 pm »
Great!

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9720
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

capewellmj

  • Jr. Member
  • **
  • Posts: 93
Re: Cannot delete fields from orders
« Reply #4 on: May 07, 2014, 22:24:07 pm »
Wait, no it still doesn't work.

Martin

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9720
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Cannot delete fields from orders
« Reply #5 on: May 08, 2014, 17:13:21 pm »
Works for me. I replaced an !empty against an Isset

can someone else test?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

capewellmj

  • Jr. Member
  • **
  • Posts: 93
Re: Cannot delete fields from orders
« Reply #6 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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27029
  • Always on vacation
    • Jenkin Hill Internet
Re: Cannot delete fields from orders
« Reply #7 on: May 08, 2014, 17:57:32 pm »
I can delete fields in orders, save, and they are gone. So works fine. VM2.6a
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.0.9935 on Joomla 3.8.12 PHP 7.0.31
Testing VM 3.4.0.9941 on Joomla 3.8.12

capewellmj

  • Jr. Member
  • **
  • Posts: 93
Re: Cannot delete fields from orders
« Reply #8 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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27029
  • Always on vacation
    • Jenkin Hill Internet
Re: Cannot delete fields from orders
« Reply #9 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".
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.0.9935 on Joomla 3.8.12 PHP 7.0.31
Testing VM 3.4.0.9941 on Joomla 3.8.12

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9720
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Cannot delete fields from orders
« Reply #10 on: May 08, 2014, 19:18:38 pm »
at least a workaround, thanks for testing.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/