dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #1542] extrafields.class.php, showOutputField w


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1542] extrafields.class.php, showOutputField wrong translate
Date: Mon, 28 Jul 2014 20:12:35 +0200

Doliforge
Is this email not displaying correctly?
update email preferences.

extrafields.class.php, showOutputField wrong translate

Latest modifications

2014-07-28 20:12 (Europe/Paris)
The bug has been corrected inside GIT sources
(http://www.github.com/Dolibarr/dolibarr).

So fix should be available with next stable release.
Changes:
  • Status: 
OpenClosed
  • Assigned to: 
NoneLaurent Destailleur (eldy)
  • Resolution: 
NoneFixed

Answer now

Snapshot

 Details
Submitted by:  Javier (javieral) Submitted on:  2014-07-27 09:46
Last Modified On:  2014-07-27 09:46 
Summary:  extrafields.class.php, showOutputField wrong translate
Description:  When I use an extrafield type sellist, if the fields label is translatable, this translates, and the result is not displayed. Only the label of the translated field.

I think that the line:

$translabel=$langs->trans($field_toshow);

should be:

$translabel=$langs->trans($obj->$field_toshow);
Step to reproduce bug:  Create extrafield in facturedet, type sellist, with params "name_table:name:rowid::", where 'name' is the field in MySQL table.

Detected in version:  develop Category:  Module: Customer Invoices
Severity:  5 - Major OS Type/Version:  All
PHP version:  5.4.12 Database type and version:  MySQL 5.6.12
 Status
Status:  Closed Assigned to:  Laurent Destailleur (eldy)
Resolution:  Fixed 

Comments

Laurent Destailleur 2014-07-28 20:12
The bug has been corrected inside GIT sources
(http://www.github.com/Dolibarr/dolibarr).

So fix should be available with next stable release.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]