Custom and Orders Manager crash

After I add a credit card to a user's profile and then I try to open the user's profile in the Customer and Orders Manager, it crashes. If I debug it, the error is:

A property value provided in the profile XML could not be persisted to the underlying data store. Validation of the property value failed.
Profile Type = 'CreditCard'

Which is odd, because this used to work fine. The only thing that I recently changed that remotely might affect this is I extended the orders system by adding two weakly typed custom properties. These are working fine for me.

Any ideas on how to proceed

Best Regards,
Brad


Answer this question

Custom and Orders Manager crash

  • Rykin Poe

    I'll answer myself on this in case someone has the same problem.

    I tracked it down to the Customer and Orders manager would only crash when I have added a Credit Card to the profile.

    It turns out that when the creditcard number under the CreditCard profile is set to Asymmetric Encryption, it would log the error and crash, but as soon as I changed it to One Way Hash encryption, it would work again.

    Doesn't really answer the underlying problem but it is a workaround.

    BB

  • SiddCF

    Hi Joseph,

    Yeah, the OrderObjectMappings.xml under the OrdersWebService directory has the custom properties as well as the OrderObjectMappings.xml under the root web directory.

    Thanks,
    Brad

  • Karthikeyan Mahadevan

    Any ideas on what I can try next to at least track the problem down

    Brad

  • smartpi

    Brad,

    Did you update the mapping XML files in the Customer and Order Managers directory to include the new custom properties that you've added



  • Custom and Orders Manager crash