locked
synchronous post update plugin runs 6 times after quote update RRS feed

  • Question

  • Hello, 

    I have a problem with plugin - it runs 6 times after a quote is 
    updated.

    First 5 times it runs with no problem.

    Finally it fails with error "Server was unable to process the 
    request", 
    Error is generated by this line:

    service.Update(updatedQuote); 

     

    Any idea?

    Wednesday, November 25, 2009 5:25 PM

Answers

  • Hi Dawid,


    Its going into the plugin recursively as you are doing a updating the quote inside a update plugin. You should update the quote only when u need to comparing pre images and post images and using filtering attributes in the plugin registration tool.

    If this answers your question, please use the answer button and say so. | Anoop
    Wednesday, November 25, 2009 7:26 PM

All replies

  • You should catch the SoapException and look at the Details.InnerXml of the exception. A more detailed description of what went wrong should be there.

    Wednesday, November 25, 2009 7:03 PM
  • Hi Dawid,


    Its going into the plugin recursively as you are doing a updating the quote inside a update plugin. You should update the quote only when u need to comparing pre images and post images and using filtering attributes in the plugin registration tool.

    If this answers your question, please use the answer button and say so. | Anoop
    Wednesday, November 25, 2009 7:26 PM