VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: mitchie on January 13, 2012, 13:06:39 PM

Title: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: mitchie on January 13, 2012, 13:06:39 PM
Hallo,
cleaning orders archive (deleting orders) after test I've got this error:
vmError: The workflow for C or k is unknown, take a look on model/orders function handleStockAfterStatusChanged

J1.7.3 - VM2.0.0

Best regards
mitchie

Edit by Milbo, this is for VM2.0.0, please look here for other versions http://forum.virtuemart.net/index.php?topic=96348.msg345875#msg345875
Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: ziso on February 12, 2012, 21:31:15 PM
I have a similar error vmError: The workflow for or P is unknown and i have version  joomla 1.7 and latest version vm 2.0
Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: maxispin on March 21, 2012, 10:30:06 AM
I am suffering with the same issue. 2.0.3A.

The email sent to the customer is the same sent when making an order + these errors occur.

QuotevmError: The workflow for C or M is unknown, take a look on model/orders function handleStockAfterStatusChanged
vmError: Path wrong to store invoices, folder invoices does not exist invoices/
Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: mabeall32 on April 11, 2012, 22:09:25 PM
I'm having this in 2.0.4 (joomla 2.5)
vmError: The workflow for  or  P is unknown, take a look on model/orders function handleStockAfterStatusChanged
Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: Studio 42 on April 12, 2012, 00:23:48 AM
plz  try to update the table in
Tools
>Tools & Migration


click on the button

Install tables
or if necessary
update them
Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: DaisyEE8 on April 20, 2012, 15:20:10 PM
Quote from: Electrocity on April 12, 2012, 00:23:48 AM
plz  try to update the table in
Tools
>Tools & Migration


click on the button

Install tables
or if necessary
update them


That didn't help. :(
After pressing the button the error still appears (but the shopping procedure successed):

vmError: The workflow for or P is unknown, take a look on model/orders function handleStockAfterStatusChanged


Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: Milbo on April 20, 2012, 18:56:27 PM
I assume you changed the orders? Maybe you added an orderstatus?
Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: mabeall32 on April 20, 2012, 19:32:52 PM
I have canceled orders (still testing) but I have not added or changed anything in the order status table. It happens when I create a new order after confirming the order
Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: Edvinas on May 06, 2012, 23:41:54 PM
appears for me also:

The workflow for or P is unknown, take a look on model/orders function handleStockAfterStatusChanged

have no idea what I should to fix it.

also I get this:

 Warning: Missing argument 5 for vmPSPlugin::processConfirmedOrderPaymentResponse(), called in /home/brite/domains/brite.lt/public_html/plugins/vmpayment/standard/standard.php on line 148 and defined in /home/brite/domains/brite.lt/public_html/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 947
Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: rustle on May 10, 2012, 16:12:09 PM
The workflow for Z or P is unknown, take a look on model/orders function handleStockAfterStatusChanged

i am also experiencing this issue

has anybody solved it?

i am using VM 2.0.2 + Joomla 1.7.3

also I have created extra order statuses
Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: bosslb on June 15, 2012, 21:38:34 PM
it is happening with me too... on VM 2.0.4 - 2.0.6 and even on 2.0.7e

on order confirmation user get this message:

vmError: The workflow for or C is unknown, take a look on model/orders function handleStockAfterStatusChanged

Seems and unsolved mystery  :D

even virtuemart staff has no answer! so how could we solve it ? ???
Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: rustle on June 15, 2012, 23:50:14 PM
The frustrating thing is that the new order statuses are doing what I want so really I just want to supress the error message or turn the error message into a postiive message like:
Custom Order Status update successful!
Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: Milbo on June 16, 2012, 11:21:28 AM
Quote from: bosslb on June 15, 2012, 21:38:34 PM
vmError: The workflow for or C is unknown, take a look on model/orders function handleStockAfterStatusChanged

In your case there is an answer, you created an orderstatus without workflow. Hmm stupid message, because when the workflow is set to empty or something unknown that is is often just a misconfiguration, but it can be also on purpose.

Maybe I should remove the message and show this as warning, when listing or editing an orderstatus like this. But next release, I think. So long you can just remove the message, it is on the orders model function handleStockAfterStatusChangedPerProduct.

But I do not really understand the error, looks like you use an other orderstatus, which is not listed in the db.

and important, you CANNOT add new orderstatus to vm2.0.4 or older. You must use 2.0.6
Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: rustle on June 16, 2012, 14:02:30 PM
Thanks Milbo

I will look into the editing the error message

just so you understand I am using a slightly modified VM 2.0 which works perfectly for us
We are using it internally as an in house order management system on a closed network so I really don't need to upgrade - just sort out some of the older bugs

one of which was the inability to add custom order statuses - there was a simple fix for this somewhere in the VM forum

you see the problem that was arising a few months ago was we could either wait for the (overworked) VM staff to solve problems or we could do it ourselves - we chose the latter

either way VM 2.xxx is an excellent system so thank you to both you and your staff for the hard work.



Title: Re: vmError: The workflow for C or k is unknown, take a look on model/orders functio
Post by: ronaldotto on November 22, 2012, 12:02:30 PM
Had the same problem after adding a order state and got the same error.

Solution was: Delete the order state.
did: >Tools & Migration

click on the button

Install tables
or if necessary
update them

Went to payments options tot edit and selected the order state after payment and saved.
Error is gone and everyting works.

vm2.0.41 on Joomla 2.5.8