# HG changeset patch # User Katia Saurfelt <katia.saurfelt@logilab.fr> # Date 1276780105 -7200 # Node ID 4283ee58acafaa1900671defce85a91a4325ebcd # Parent c077df1d033308a878d568f3471444599f384925 [text search] fix fulltext_container indexation diff -r c077df1d0333 -r 4283ee58acaf hooks/syncschema.py --- a/hooks/syncschema.py Thu Jun 17 15:04:35 2010 +0200 +++ b/hooks/syncschema.py Thu Jun 17 15:08:25 2010 +0200 @@ -1177,7 +1177,7 @@ source.fti_unindex_entity(session, entity.eid) for container in entity.fti_containers(): if still_fti or container is not entity: - source.fti_unindex_entity(session, entity.eid) + source.fti_unindex_entity(session, container.eid) source.fti_index_entity(session, container) if len(to_reindex): # Transaction have already been committed diff -r c077df1d0333 -r 4283ee58acaf web/data/cubicweb.ajax.js --- a/web/data/cubicweb.ajax.js Thu Jun 17 15:04:35 2010 +0200 +++ b/web/data/cubicweb.ajax.js Thu Jun 17 15:08:25 2010 +0200 @@ -200,6 +200,7 @@ if (req.status == 500) { updateMessage(err); } else { + log(err); updateMessage(_("an error occured while processing your request")); } }