add_cube remonte des erreurs, bien que la base de données semble être mis à jour
version: 3.28
description: quand je lance la migration qui intègre le cube email
je reçois des erreurs, par contre, cela ne semble pas impacter la fonctionalité, la base de données est bien mis à jour
détails:
(extrait)
2020-09-02 16:55:45 - (registry) ERROR: don't register <class 'cubicweb_file.entities.File'>, File type not defined in the schema
2020-09-02 16:55:45 - (registry) ERROR: don't register <class 'cubicweb_email.entities.Email'>, Email type not defined in the schema
2020-09-02 16:55:45 - (registry) ERROR: don't register <class 'cubicweb_email.entities.EmailPart'>, EmailPart type not defined in the schema
2020-09-02 16:55:45 - (registry) ERROR: don't register <class 'cubicweb_email.entities.EmailThread'>, EmailThread type not defined in the schema
même soucis avec le cube skos
(extrait)
2020-09-02 16:55:52 - (registry) ERROR: don't register <class 'cubicweb_skos.entities.Label'>, Label type not defined in the schema
2020-09-02 16:55:52 - (registry) ERROR: don't register <class 'cubicweb_skos.entities.ConceptScheme'>, ConceptScheme type not defined in the schema
2020-09-02 16:55:52 - (registry) ERROR: don't register <class 'cubicweb_skos.entities.Concept'>, Concept type not defined in the schema
2020-09-02 16:55:52 - (registry) ERROR: don't register <class 'cubicweb_skos.entities.Label'>, Label type not defined in the schema
mon fichier de migration
drop_entity_type("EMailMessage")
drop_attribute("Person", "email")
rql("DELETE Person X")
add_cube("email")
add_cube("skos")
add_relation_definition("EmailAddress", "owner", "Person")
drop_entity_type("Tag")
drop_entity_type("TagAuthority")