Dolibarr ERP & CRM » Bugs » bug #1811 Erreur sur extrafield ligne propaleDernières modifications
Répondre
État Détails |
Last Modified On: | 22/01/2015 18:27 | | Submitted by: | Manuel Pintor (m.pintor) |
Submitted on: | 22/01/2015 18:27 | |
Summary: | Erreur sur extrafield ligne propale |
Description: | Les attributs supplémentaires de ligne de proposition (voire autre pièce mais non testé) ne sont pas pris en compte lors de la création d'une proposition, bien qu'affichés à l'écran de saisie de la proposition.
Après saisie d'une ligne de proposition, une erreur est affichée.
|
Step to reproduce bug: | Créer un attribut supplémentaire de ligne de proposition, par exemple "truc" Booléen.
Créer une proposition, ajouter une ligne de produit avec truc à vrai (par exemple).
Erreur :
Requête dernier accès en base en erreur: SELECT truc FROM llx_propaldet_extrafields WHERE fk_object = 1
Code retour dernier accès en base en erreur: DB_ERROR_SYNTAX
La table llx_propaldet_extrafields ne contient effectivement rien.
La table llx_extrafields contient truc. |
Detected in version: | 3.6.2 | | Category: | Core Problem |
Severity: | 5 - Major | | OS Type/Version: | Ubuntu 14.04 |
PHP version: | 5.5 | | Database type and version: | MySQL 5.5 |
Etat |
Status: | Open | | Assigned to: | Aucun |
Resolution: | Aucun | |
Commentaires- Manuel Pintor 28/01/2015 12:25
- Same issue report in english, hoping it'll be sorted out by someone here.
Extrafields on lines of proposals (or maybe even on invoices, etc, but not tested) are not taken into account during the creation of a proposal, although shown in the input screen of the proposal.
After committing a line of proposal, an error is displayed.
I got the same behaviour on 2 fresh installs under dolibarr 3.6.2 and 3.5.6.
Steps to reproduce.
1. create an extrafield on proposal line, for instance a boolean named "abc"
2. create a proposal and add a proposal line with abc set to true (or false, whatever).
=> error displayed mentioning a DB_ERROR_SYNTAX error during the last access on base, on the statement : SELECT abc FROM llx_propaldet_extrafields WHERE fk_object = 1
Indeed, llx_propaldet_extrafields contains absolutely nothing.
And llx_extrafields contains abc.
|
|
Extrafields on lines of proposals (or maybe even on invoices, etc, but not tested) are not taken into account during the creation of a proposal, although shown in the input screen of the proposal.
After committing a line of proposal, an error is displayed.
I got the same behaviour on 2 fresh installs under dolibarr 3.6.2 and 3.5.6.
Steps to reproduce.
1. create an extrafield on proposal line, for instance a boolean named "abc"
2. create a proposal and add a proposal line with abc set to true (or false, whatever).
=> error displayed mentioning a DB_ERROR_SYNTAX error during the last access on base, on the statement : SELECT abc FROM llx_propaldet_extrafields WHERE fk_object = 1
Indeed, llx_propaldet_extrafields contains absolutely nothing.
And llx_extrafields contains abc.