I've encountered a problem when trying to create a new record using v3.0.9. This time I've used HTTPie to get the problematic XML, so it should be completely legit. This is on FileMaker 14, so I guess there's a chance that the issue is due to an API change, or even a FileMaker bug ...
Anyway, the offending XML is here. When parsing this XML, I get the following error:
NoMethodError:
undefined method `[]' for nil:NilClass
I did a pry and it seems to be baulking at the WLG Current Location Sort By First::Qty field.
It looks like it fails because the metadata for the portal is not available in the XML. Like I say, don't know if that's a FM14 thing, or what. I was able to get around it with this patch, but I suppose that will cause problems somewhere else. I have another issue that I'll submit separately.
[edited, got my bugs crossed!] Hi there,
I've encountered a problem when trying to create a new record using v3.0.9. This time I've used HTTPie to get the problematic XML, so it should be completely legit. This is on FileMaker 14, so I guess there's a chance that the issue is due to an API change, or even a FileMaker bug ...
Anyway, the offending XML is here. When parsing this XML, I get the following error:
The error comes from here:
I did a pry and it seems to be baulking at the
WLG Current Location Sort By First::Qty
field. It looks like it fails because the metadata for the portal is not available in the XML. Like I say, don't know if that's a FM14 thing, or what. I was able to get around it with this patch, but I suppose that will cause problems somewhere else. I have another issue that I'll submit separately.