[Silva-general] Some sites don't update when auto-updating from 2.1->2.3

Dav Clark dav at alum.mit.edu
Wed Jun 29 07:20:02 CEST 2011


I'd posted about updating issues earlier, and I think I've pretty much solved my problem (though perhaps not elegantly). 

In any case, it turns out (well, as best I can tell, anyway), that while the 2.3 automatic update script worked on several of the existing Silva 2.1 sites in my zope instance, others still required a press of the "upgrade content" button in service_extensions. Weird, huh?

I don't know what differentiates ones that got upgraded from ones that didn't. Their content was surprisingly similar. For example, the only real difference between layout_macro.html's was the presence of the following in my newer version:

<meta name="generator" content="Silva" />

Another interesting wrinkle, the exported XML for an older site's layout_macro.html had the following:

  <pickle>
    <global id="25716.1" name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
  </pickle>

Whereas a newer site's file had the following header:

  <pickle>
    <tuple id="75469.2">
        <global id="75469.1" name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
        <tuple/>
    </tuple>
  </pickle>

Perhaps this is a clue?

In any case, I think I've solved my problem (for now), but if you want to have me look into / report back on anything, I'm happy to - particularly if you want to try to "fix" the update script.

Best,
Dav


More information about the silva-general mailing list