An error occurred fetching the project authors.
  1. 04 May, 2016 1 commit
  2. 03 May, 2016 2 commits
    • Georgios Dagkakis's avatar
      testBusinessTemplateTwoFileExport: Add a test for output_encoding preservation. · 1a85f076
      Georgios Dagkakis authored
      Installation of business template may change the encoding of a document to utf-8.
      Nonetheless, export should preserve the original encoding.
      This test creates a ZopePageTemplate with output_encoding of 'iso-8859-15'
      and checks that while installed version becomes 'utf-8', when exported it
      keeps the original one.
      1a85f076
    • Georgios Dagkakis's avatar
      BusinessTemplate: don't export in a different file for missing attribute case. · 94508ae2
      Georgios Dagkakis authored
      Only xml metadata should be exported in this case.
      In the previous version the check of hasattr could pass
      if attribute is defined as an attribute of the class and not of the instance,
      causing also AttributeError later when the code tries to invoke delattr.
      
      Also, restructure export. First try to delete property and then
      export as separate file.
      
      Test also added.
      94508ae2
  3. 07 Mar, 2016 3 commits