[CPS-devel] A CPS 3.3.8 theme imported to CPS 3.4 returns error when it's exported.

JoseLuis de la Rosa Triviño joseluis.rosa at iavantefundacion.com
Thu Mar 23 12:41:12 CET 2006


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 
Becario Área de Sistemas de Información 
FUNDACIÓN IAVANTE 
joseluis.rosa at iavantefundacion.com 
Tel. 951 015 300 

 

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.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060323/017c6558/attachment.html


More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.