I found that disabling modules during minor upgrades causes data loss consistently under specific circumstances, during earlier updates (e.g. 5.2, 5.3). I observed that any module-supplied node type would drop all the data in any assigned CCK fields when disabling & upgrading. For example, if one had a simplenews node with an "editor" cck field attached to it, one would lose all "editor" information. However, the basic simplenews node data would be kept, as would any cck fields attached to standard nodes. Only the combo of cck + module-supplied-node-type seemed to cause problems.<br>
<br>Fortunately, I make backups before upgrading and restored each time and did the upgrade without disabling modules and it worked fine. After 5.5, I think, I gave up attempting to disable modules and have had no problems since.<br>
<br>Brian<br><br><br><div class="gmail_quote">On Mon, Jul 14, 2008 at 3:12 AM, Fred Jones <<a href="mailto:fredthejonester@gmail.com">fredthejonester@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">>> Disabling modules anyhow can certainly lose data. Even without<br>
>> uninstalling. I disabled the Ads module on a site once, I believe, and<br>
>> data was lost which we were forced to restore (what we could) from<br>
>> backups.<br>
>><br>
> If it does the module is broken and needs a bug report issued. I've<br>
> not found this case.<br>
<br>
</div>I believe I made a mistake. The case where I lost data I think was<br>
actually that I uninstalled a module.<br>
<br>
You are correct, because simply disabling module does run any code, so<br>
how could any data be lost?<br>
<br>
It indeed should be the case that disabling modules will NOT lose any data.<br>
<br>
My mistake for saying otherwise.<br>
<font color="#888888"><br>
Fred<br>
</font><div><div></div><div class="Wj3C7c">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Brian Choc<br>Technology Manager<br><br>Teaming for Technology Colorado<br>2505 18th St. Denver, CO 80211<br>P: 303.561.2377, F: 303.455.6462<br><a href="http://www.t4tcolorado.org">http://www.t4tcolorado.org</a>