Author Topic: [refused]Child product is created even when cancelled  (Read 2671 times)

aravot

  • Peter
  • Quality&Testing Team
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
[refused]Child product is created even when cancelled
« on: July 20, 2011, 00:10:06 am »
Child product is created even when 'Cancelled'.

Select a product, click on Child Product and than Cancel button, the child product is created, it shouldn't.


Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Child product is created even when cancelled
« Reply #2 on: October 10, 2011, 18:18:24 pm »
This is not an issue, when you press create child product, the child is created, done. That we open it automatically for editing is something else.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

aravot

  • Peter
  • Quality&Testing Team
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
Re: Child product is created even when cancelled
« Reply #3 on: October 10, 2011, 21:44:30 pm »
The issue is that it is created automatically (it shouldn't) even though didn't want to create, clicking cancel doesn't help either, it should only create when save button is pressed.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4067
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Child product is created even when cancelled
« Reply #4 on: October 10, 2011, 22:52:07 pm »
Hi aravot,

I don't understand the problem, you have a child in one step
And can delete it in one Step

Click on delete or do cancel in edit , philosophy choice or not ?

For eg. I love the clone function. ANd how to do 20 clones when you must save all clones or cancel it ?

aravot

  • Peter
  • Quality&Testing Team
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
Re: [refused]Child product is created even when cancelled
« Reply #5 on: October 12, 2011, 09:29:08 am »
It is not an issue but a bug if I click on New Product and cancel it without saving no product is created the same should be for child product if I click on child product and cancel it (change mind don't want to create child) it shouldn't save/create the child product it should only create when save button is pressed I know I could always delete the created child but why should it create it in the first place.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: [refused]Child product is created even when cancelled
« Reply #6 on: October 12, 2011, 18:57:23 pm »
Because it is instantly created, like instantly cloned.

We would do the same with new, but when you want to create a product, you need a name and things like this in it. It is definitly not a bug.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/