custom fields with spaces causing the API to fail
macharmi opened this issue · comments
Mohamed Ali Charmi commented
The recent changes in the UI allowed users to insert custom attributes with spaces.
This is causing a bug in the API.
::ChargeBee::Customer.retrieve('test-custome-id', environment).customer
NameError: `@cf_my My customer field' is not allowed as an instance variable name
from /usr/local/bundle/gems/chargebee-2.31.1/lib/chargebee/models/model.rb:39:in `instance_variable_set'
github-actions commented
Hello @macharmi, thank you for raising the issue. Your contribution is greatly appreciated and we look forward to addressing it.
Mark Wong commented
Looks like this issue was fixed as of v2.35.0. Issue can probably be closed. Thanks for fixing it!
Sriram Thiagarajan commented
Hi @macharmi, I'm sorry for the delayed response. As @fmarkwong mentioned, this was fixed so I'll go ahead and close this issue.
Thanks for the note @fmarkwong :)
Mohamed Ali Charmi commented
Thank you @cb-sriramthiagarajan ! We are already using the new version.