I think the problem is with the cmis module.This is what I did.
I created a new article and saved it as Full HTML and ran cron.The content switched to Plain text.This keeps happening whenever a new article is added or content is updated.Then I deleted the article from within drupal.and ran cron again,Then cmis threw an error and the deleted article reappeared in drupal.
_cmis_sync_cmis_drupal_handle_updates definitely does something to update the nodes but I am unable to understand why this strange behaviour
Then suddenly,after 7PM ish everything started working as expected,no content switch,no "updated" marks etc.
I remember the similar thing happening few days back,where the problem disappeared after 7 PMish. Do you think there is a timer running somewhere?In the morning the problem is back again.
Please let me know.. Thanks
Comments
Comment #1
asdkalluri commentedAlso,when cron runs,the "updated time" of the all the articles edited/saved gets set to the time when cron runs.
The content switching to plain text problem is simple fixed by disabling the "convert html to plain text" filter within plain text.
And if a new article is created,cron is run and then the article is deleted and cron is run again , the deleted article reappears inside drupal
Comment #2
asdkalluri commentedI think inside cmis_sync.cmis.inc the function _cmis_sync_cmis_drupal_handle_updates is the one that can be tweaked a little? Any thoughts?I do not want the file to get updated even if there are no updates.
Comment #3
asdkalluri commentedWhenever I run cron , all the articles in drupal which I have edited/created get updated with the new timestamp(the time when cron runs) and the "updated" tag appears beside the article name.This happens again and again as I run cron,even if I did not make changes to that article again.
To be more precise :
I edit two articles 1 ,2 today at 10:00 AM and run cron 5 min later at 10:05 , the time stamps of both are updated to 10:05 .
Again I edit article 1 at 10:10 and run cron at 10:20 and now, articles 1,2 have their time stamps at 10:20.
Any thoughts regarding this?
Comment #4
RMani commentedI am facing this too . When ever I cron , the test format changes from full html to filtered
Comment #5
RMani commentedTemp Fix
If you run this in drupal 7
it fixes the issue
UPDATE dr_field_data_body
SET body_format= 'full_html'
WHERE body_format IS NULL
Comment #6
RMani commentedhttp://drupal.org/node/1402214
this helped in fixing it
Comment #7
IanNorton commentedI've pushed a fix for this, technically Drupal's doing what it is supposed to as no filter value was specified it uses the default defined in a variable (see variable_get('filter_fallback_format');)
I've added a TODO to allow this to be configured on a field sync basis, right now filtered_html is a happy in-between.