View Issue Details

IDProjectCategoryView StatusLast Update
0001237Noalyss - PLUGINBugpublic2016-01-21 18:42
Reporterdanydb Assigned Todanydb  
PrioritynormaleSeveritymineurReproducibilitynon essayé
Status ferméResolutioncorrigé 
Summary0001237: Echec génération courrier
DescriptionSi un attribut numérique de la fiche est vide alors le plugin ne peut déterminé son type.

Il faut changer dans Rapav_listing_compute_fiche. ligne 168 et 156 , pour qu'il y a un "type" par défaut
Steps To Reproduceif ($p_type == "OOo")
        {
            $array = $cn->get_array("select '<<'||lc_code||'>>' as code,
                    ld_value_numeric,ld_value_text,ld_value_date,
                    case
                        when ld_value_numeric is not null then 1
                        when ld_value_text is not null then 2
                        when ld_value_date is not null then 3
--> else 1
                    end
                        as type
                    from rapport_advanced.listing_compute_detail where lf_id=$1 "
                    , array($this->lf_id));
        } else
        {
            $array = $cn->get_array("select '<<'||lc_code||'>>' as code,
                   ld_value_numeric,ld_value_text,ld_value_date,
                    case
                        when ld_value_numeric is not null then 1
                        when ld_value_text is not null then 2
                        when ld_value_date is not null then 3
--> else 1
                    end
                        as type
                    from rapport_advanced.listing_compute_detail where lf_id=$1 "
                    , array($this->lf_id));
        }
TagsNo tags attached.
Extension Noalyss Rapport Avancé

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-12-03 11:16 danydb New Issue
2015-12-03 11:19 danydb
2015-12-03 11:22 danydb Extension Noalyss Aucun => Rapport Avancé
2015-12-03 11:22 danydb Status new => resolved
2015-12-03 11:22 danydb Resolution open => fixed
2015-12-03 11:22 danydb Assigned To => danydb
2015-12-03 11:25 danydb Fixed in Version => Next
2015-12-03 11:25 danydb Steps to Reproduce Updated
2016-01-05 12:16 danydb Project @12@ => Noalyss - PLUGIN
2016-01-21 18:42 danydb Status resolved => closed