List Info

Thread: Attribute Error: Keywords in OOoDocbookDocument




Attribute Error: Keywords in OOoDocbookDocument
user name
2007-06-15 06:45:17
Hello,

I am in CPS 3.4.4 and testing CPSOOo to upload an odt
document I got an 
Attribute Error: Keywords. I have been flicking through the
code and I 
found that in the class OOoDocbookDocument there is a
"keywords" 
attribute but not "Keywords" attribute. Am I right
that all the 
references to "Keywords" should be
"keyworks" instead?

If you say I am right, I'll create the ticket and upload the
changes.

Thank you very much.

-- 
Jose Luis de la Rosa
Técnico de Innovación y Tecnología
Fundación IAVANTE
Telf.: 951 01 53 13 - Fax: 951 01 53 01
www.iavante.es

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
htt
p://lists.nuxeo.com/mailman/listinfo/cps-devel

Re: Attribute Error: Keywords in OOoDocbookDocument
user name
2007-06-15 07:12:39
It seems I solved it by adding this code to the class
OOoDocbookDocument

Keywords = []

I'll commit it to the trunk.

Regards.

Jose Luis de la Rosa Triviño wrote:
> Hello,
>
> I am in CPS 3.4.4 and testing CPSOOo to upload an odt
document I got 
> an Attribute Error: Keywords. I have been flicking
through the code 
> and I found that in the class OOoDocbookDocument there
is a "keywords" 
> attribute but not "Keywords" attribute. Am I
right that all the 
> references to "Keywords" should be
"keyworks" instead?
>
> If you say I am right, I'll create the ticket and
upload the changes.
>
> Thank you very much.
>


-- 
Jose Luis de la Rosa
Técnico de Innovación y Tecnología
Fundación IAVANTE
Telf.: 951 01 53 13 - Fax: 951 01 53 01
www.iavante.es

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
htt
p://lists.nuxeo.com/mailman/listinfo/cps-devel

Re: Attribute Error: Keywords in OOoDocbookDocument
country flaguser name
France
2007-06-15 07:40:33
Jose Luis de la Rosa Triviño a écrit :
> It seems I solved it by adding this code to the class
OOoDocbookDocument
> 
> Keywords = []
> 
> I'll commit it to the trunk.
> 

This could fix the problem but the true cause to the problem
is that
there is the "Keywords" field that is missing in
the schema of the
OOoDocbookDocument.

If you are willing to help, please could you test adding a
"Keywords"
CPS String List Field to the schema ?

I don't understand how such a bug could be left in this
product :-


PS : A widget could also be added so that the
"Keywords" can be seen
from the CPS interface.


Thanks a lot Jose,

-- 
Marc-Aurèle DARCHE
Open Source Enterprise Content Management (ECM)   http://www.nuxeo.org/
NUXEO (Paris, France)                             http://nuxeo.com/

_______________________________________________
cps-devel mailing list
htt
p://lists.nuxeo.com/mailman/listinfo/cps-devel

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )