Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text Input Choice Field causes JSON Parse Error. #450

Open
james7342 opened this issue Apr 11, 2023 · 4 comments
Open

Text Input Choice Field causes JSON Parse Error. #450

james7342 opened this issue Apr 11, 2023 · 4 comments

Comments

@james7342
Copy link

Describe the bug

Found this issue and am able to duplicate it with a Product Level and Shared Choice Text Input Box.
(https://mmmcommerce.com/Forums/g/Posts/t/326/Shared-Choice-Text-Input-Field-BUG)

Software Versions

  • DNN: 9.11.2
  • Hotcakes: 3.6.0

To Reproduce

Steps to reproduce the behavior:

  1. Create Choice item for Text Input - Shared or at Product Level
  2. Col. 1, Row 1, Size 50
  3. View Product and enter text in input box.
  4. In browser console note: JSON Parse Error
  5. Unable to add product to Cart.

If you remove the Text Input Size works as expected.

Expected behavior

No error and Product adds to Cart.

Actual behavior

Unable to add product to Cart.

Screenshots

JSON Error:
screenshot_804

Error log

Note: Debug DLL's
N/A

@WillStrohl WillStrohl added the Requires Triage Someone needs to reproduce this issue. label Jul 12, 2023
@WillStrohl
Copy link
Member

Thank you for reporting this issue. Our team will attempt to reproduce the issue and report back here once we're done.

@ismaelTartola
Copy link

@WillStrohl @james7342 I was able to reproduce the bug reported in this issue. I followed the same steps to reproduce. Only point that I think we should add a extra step to add the Shared Choice Item to the product. How that's sound? @james7342. These are my steps to reproduce proposal:

  1. Create Choice item for Text Input - Shared or at Product Level.
    
  2. Col. 1, Row 1, Size 50.
    
  3. Add the Created Shared Choice to a Product.
    
  4. View Product and enter text in input box.
    
  5. In browser console note: JSON Parse Error.
    
  6. Unable to add product to Cart.
    

Regards,

@james7342
Copy link
Author

james7342 commented Jul 20, 2023

@ismaelTartola, Yes, I didn’t specially call out adding the shared item step. It effects both and my thought was if it was fixed at the product level it would probably address the shared aspect of it also. Both options would have to be verified I think before the issue could be closed.

@WillStrohl WillStrohl added bug help wanted good first issue and removed Requires Triage Someone needs to reproduce this issue. labels Jul 20, 2023
@WillStrohl
Copy link
Member

Thanks, @james7342 for helping us triage this. We'll try to fix it as soon as we can. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants