I am using umbraco 4.7.0 and I have a webservice in same umbraco site. This webservice takes a json array of content and then creates / updates or deletes umbraco documents in the backend. All the crud stuff works fine after the crud activity i publish the doc and update the xml cache. The issue i am having is that data injected into the index via gatheringnode data event seems to be missing i.e gatheringnode data is not firing. However after doing import if i manually re publish items the data is present in the index. Some code below:
Ok so figured out what the issue is. I had examine event that was injecting data into the index this data was coming from tab on the doc type and each property on the doctype had Name field set to dictionary item e.g #fathersName. On my laptop and dev sites culture was default set to en-GB so becuase i had GB entries in dictionary it all worked. On my staging and live servers culture was not set so was defaulting to something else possibly US. The webservice and examine gathering node data event were running under US culture and were getting blank entries from the dictionary.
GatheringNode data issue
Guys,
I am using umbraco 4.7.0 and I have a webservice in same umbraco site. This webservice takes a json array of content and then creates / updates or deletes umbraco documents in the backend. All the crud stuff works fine after the crud activity i publish the doc and update the xml cache. The issue i am having is that data injected into the index via gatheringnode data event seems to be missing i.e gatheringnode data is not firing. However after doing import if i manually re publish items the data is present in the index. Some code below:
As i am doing the import I can see the index being updated real time using index admin dashboard.
I recall something about gatheringnode data running on different thread?
Regards
Ismail
Ok so figured out what the issue is. I had examine event that was injecting data into the index this data was coming from tab on the doc type and each property on the doctype had Name field set to dictionary item e.g #fathersName. On my laptop and dev sites culture was default set to en-GB so becuase i had GB entries in dictionary it all worked. On my staging and live servers culture was not set so was defaulting to something else possibly US. The webservice and examine gathering node data event were running under US culture and were getting blank entries from the dictionary.
GRRRR!!!
is working on a reply...