Hi All
Im using smardocs API for API documentation on apigee developer portal . I run following APIs as per smartdocs API https://github.com/apigeecs/smartdocs_service
I run this in sequence for a given smartdocs api json:
1. create smrtdocs model for given version .If model exists ,then delete smartdocs model and smartdocs tag data and create fresh smartrdocs model.
2.import json into smartdocs model
3. render model
4.run drush queue-run smartdocs_service_queue
The script runs fine on a 4.16.XX portal ,but when running on 4.17.XX version of portal i get following exception when i run the publishing process second time for same given model
EntityMetadataWrapperException: Unable to get the data property field_model_version as the parent data structure is not set. in EntityStructureWrapper->getPropertyValue() (line 457 of [error]
/opt/apigee/apigee-drupal/profiles/apigee/modules/contrib/entity/includes/entity.wrapper.inc).
Please suggest something to recover from this exception.
regards
arpit sharma
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |