Projet

Général

Profil

Actions

Anomalie #4635

fermé

Problèmes recherches groupés (msearch)

Ajouté par Jérôme Augé il y a environ 12 ans. Mis à jour il y a environ 12 ans.

Statut:
Intégré
Priorité:
Normal
Assigné à:
Version cible:
Début:
17/03/2014
Echéance:
% réalisé:

100%

Temps estimé:
Version source:
Solution proposée:

Correction des filtres lié à la modification de l'agencement des tables

Principaux fichiers impactés:
Complexité:
Contrôle:
Thème:
Recherche
Régression:

Description

Quand je lance l'interface du Workspace, j'ai un encart rouge avec une erreur :

[12-Mar-2014 10:05:27 Europe/Berlin] 0) /var/www/c1/WHAT/Class.DbObj.php:769 DbObj::setError()
[12-Mar-2014 10:05:27 Europe/Berlin] 1) /var/www/c1/WHAT/Class.QueryDb.php:198 DbObj::exec_query()
[12-Mar-2014 10:05:27 Europe/Berlin] 2) /var/www/c1/FDL/Lib.Dir.php:554 QueryDb::Query()
[12-Mar-2014 10:05:27 Europe/Berlin] 3) /var/www/c1/FDL/Class.DocSearch.php:431 ::internalGetDocCollection()
[12-Mar-2014 10:05:27 Europe/Berlin] 4) /var/www/c1/WORKSPACE/ws_addfldbranch.php:55 DocSearch::getContent()
[12-Mar-2014 10:05:27 Europe/Berlin] 5) /var/www/c1/WHAT/Class.Action.php:589 ::ws_addfldbranch()
[12-Mar-2014 10:05:27 Europe/Berlin] 6) /var/www/c1/WHAT/Lib.Main.php:313 Action::execute()
[12-Mar-2014 10:05:27 Europe/Berlin] 7) /var/www/c1/WHAT/Class.ActionRouter.php:37 ::executeAction()
[12-Mar-2014 10:05:27 Europe/Berlin] 8) /var/www/c1/index.php:75 ActionRouter::executeAction()
[12-Mar-2014 10:05:27 Europe/Berlin] {DB0005} query prepare error : ERREUR:  chaque requête UNION doit avoir le même nombre de colonnes
LIGNE 1 : ...select distinct on (family."simplefolder".initid) family."si...
                                                               ^

(
  select distinct on (family."simplefile".initid) family."simplefile".*  from  family."simplefile" 
  where  (family."simplefile".archiveid is null) and (family."simplefile".doctype = 'Z') and  (doctype != 'T')
  ORDER BY initid, id desc
)
union
(
  select distinct on (family."simplefolder".initid) family."simplefolder".*  from  family."simplefolder" 
  where  (family."simplefolder".archiveid is null) and (family."simplefolder".doctype = 'Z') and  (doctype != 'T')
  ORDER BY initid, id desc
)
ORDER BY title LIMIT ALL OFFSET 0;

Mis à jour par Éric Brison il y a environ 12 ans

  • Assigné à mis à Éric Brison
  • Version cible mis à 3.3#DB
  • Solution proposée mis à jour (diff)

Mis à jour par Éric Brison il y a environ 12 ans

  • Thème Recherche ajouté
  • Thème Socle technique supprimé

Mis à jour par Éric Brison il y a environ 12 ans

  • Statut changé de Nouveau à Intégré
  • % réalisé changé de 0 à 100

Appliqué par commit dynacase-core|commit:a00beca236a1e5aa14caab0fb5b478d88e5ea7e9.

Actions

Formats disponibles : Atom PDF