Closed bleroy closed 8 years ago
Original comment by Bertrand Le Roy (Bitbucket: bleroy, GitHub: bleroy):
Get the latest code. I'm pretty sure I fixed that one already: https://bitbucket.org/bleroy/nwazet.commerce/commits/3ada6266368c58673559e63868786d0337e64804. You may have to delete your mappings.bin.
Originally reported by: Josh Berry (Bitbucket: joshberry, GitHub: joshberry)
Ran into this issue yesterday with an very large order. When the serialized order contents exceeds 4000 characters, the order fails with the following exception:
Although the user receives an error message instead of the order confirmation page, the worst part is that the Stripe transaction is still processed and the New Order event is fired so any order confirmation emails you have setup are sent out.
From the research I've done, it sounds like SQL Compact can handle large ntext values but has issues with validating them on the way in depending on how the sql statement is constructed. The issue is described here.
One obvious solution would be to migrate the database to full SQL Server. I'm wondering if there is anything that can be done for SQL Compact though. I don't have any good ideas at this point. Thoughts?