|
Hello everybody,
From CPS 3.3.8 I have exported a theme in zexp format, later I imported the theme succesfully into CPS 3.4, however when I try to export the theme from portal_setup to obtain an .xml format I get an error due to the SMALL_font property. This are some debug steps I took after the error. Notice that a previous check is done with self.hasProperty, but finally getattr(self, id) produces the exception.
##################################################################### (Pdb) (Pdb) list 148 149 Returns the optional second argument or None if no such property is 150 found. 151 """ 152 if self.hasProperty(id): 153 -> return getattr(self, id) 154 return d 155 156 def getPropertyType(self, id): 157 """Get the type of property 'id'. 158 (Pdb) self <FontShape at /bpitest/portal_themes/BPITheme/styles/1066853399> (Pdb) id 'SMALL_font' (Pdb) self.hasProperty(id) 1 (Pdb) getattr(self, id) *** AttributeError: SMALL_font # <<<<<--------------- This is the exception (Pdb) ####################################################################
This exception also happens when I try to edit this font shape from ZMI. Any idea of how to migrate a CPS 3.8 portal theme to .xml format?
Thank you very much. JoseLuis de la Rosa
Triviño
Este correo electrónico y, en su caso, cualquier fichero anexo, contiene información confidencial exclusivamente dirigida a su(s) destinatario(s). Toda copia o divulgación deberá ser autorizada por IAVANTE. This e-mail and any attachments are confidential and exclusively directed to its adressee(s). Any copy or distribution will have to be authorized by IAVANTE.
|
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
