When I attempted to post Tires, the yml file only had one line of postAdForm.attributeMap and ultimately failed to post.
When posting tires, it asks for tire size when building the ad and it correctly adds this to the yml file (i.e. postAdForm.attributeMap[tiresize_s]: '160' is properly included). However as a result, the For Sale By field, postAdForm.attributeMap[forsaleby_s]: ownr is not written causing the post to fail. To fix this I copied and pasted this line from another yml file and it posted correctly.
It must just need to iterate through all the fields of the attributeMap when writing the file.
When I attempted to post Tires, the yml file only had one line of
postAdForm.attributeMap
and ultimately failed to post.When posting tires, it asks for tire size when building the ad and it correctly adds this to the yml file (i.e.
postAdForm.attributeMap[tiresize_s]: '160'
is properly included). However as a result, the For Sale By field,postAdForm.attributeMap[forsaleby_s]: ownr
is not written causing the post to fail. To fix this I copied and pasted this line from another yml file and it posted correctly.It must just need to iterate through all the fields of the
attributeMap
when writing the file.