Merci Michael, j'ai créé le Jira suivant pour ce problème: http://ci-obm.linagora.com/jira/browse/OBMFULL-3241
A bientôt pour le prochain bug/patch ;) On Tue, 21 Feb 2012 14:40:16 +0100, Michael EDLICH wrote: > Le problème est corrigé en modifiant le fichier > php/document/document_query.inc ligne 133 (environ) > > REMPLACER LA LIGNE: > > $cq = "SELECT count(*) FROM Document $join $whereq"; > > PAR: > > $cq = "SELECT count(*) FROM Document INNER JOIN DocumentEntity ON > documententity_document_id = document_id $join $whereq"; > > Il y a peut être plus proche mais cette solution semble fonctionner > ... > > Michael. > > Le 21/02/2012 12:17, Michael EDLICH a écrit : > >> Bonjour, >> >> Dans le module document, lors de la recherche de documents, si je >> positionne une catégorie en critère, j'obtiens cette erreur sql: >> _________________ >> DATABASE ERROR: Invalid SQL: SELECT count(*) FROM Document LEFT >> JOIN CategoryLink AS documentcategory2_link ON >> > > documententity_entity_id=documentcategory2_link.categorylink_entity_id >> AND > documentcategory2_link.categorylink_category='documentcategory2' >> LEFT JOIN DocumentMimeType on document_mimetype_id = >> documentmimetype_id WHERE (document_privacy = '0' or >> document_usercreate = '14') AND document_kind != 0 AND >> (documentcategory2_link.categorylink_category_id='3' ) AND >> (document_domain_id='2') >> MYSQL ERROR: 1054 (Unknown column 'documententity_entity_id' in >> 'on clause') >> Session halted. >> _________________ >> >> En rajoutant la table DocumentEntity dans le FROM, je passe cette >> erreur mais en obtiens une nouvelle >> #1054 - Unknown column 'document_mimetype_id' in 'on clause' >> >> J'arrive à mes limites en SQL, la colonne document_mimetype_id >> est bien existant dans la table Document ... je ne vois pas > pourquoi >> il me renvoi cette erreur ... >> >> Voyez vous pourquoi ca bloque ? >> >> Vous remerciant par avance, >> >> Cordialement, >> >> Michael. >> >> _______________________________________________ >> Obm mailing list >> [email protected] [1] >> http://list.obm.org/mailman/listinfo/obm [2] > > > > Links: > ------ > [1] mailto:[email protected] > [2] http://list.obm.org/mailman/listinfo/obm -- Stéphane Colson QA OBM _______________________________________________ Obm mailing list [email protected] http://list.obm.org/mailman/listinfo/obm
