Bug #5578

Bug for clone ticket

Added by yllen 3 months ago. Updated 3 months ago.

Status:ClosedStart date:03/26/2019
Priority:NormalDue date:
Assignee:yllen% Done:

100%

Category:-
Target version:2.1.3

Description

[2019-03-11 10:55:02] glpisqllog.ERROR: DBmysql::query() in /var/www/html/glpi/inc/dbmysql.class.php line 177 ** MySQL query error:
SQL: SELECT COUNT(
) AS cpt FROM `glpi_documents_items` WHERE `itemtype` = 'Ticket' AND `items_i` = '1112692'
Error: Unknown column 'items_i' in 'where clause'
Backtrace :
inc/dbmysqliterator.class.php:95
inc/dbmysql.class.php:580 DBmysqlIterator->execute()
inc/dbutils.class.php:329 DBmysql->request()
plugins/behaviors/inc/ticket.class.php:693 DbUtils->countElementsInTable()
plugins/behaviors/inc/common.class.php:182 PluginBehaviorsTicket::postClone()
plugins/behaviors/front/common.form.php:39 PluginBehaviorsCommon::cloneItem()

Associated revisions

Revision 283
Added by yllen 3 months ago

fixed clone ticket - fixed #5578

Revision 284
Added by yllen 3 months ago

fixed clone ticket - fixed #5578

History

#1 Updated by yllen 3 months ago

  • Target version set to 2.1.3

#2 Updated by yllen 3 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r283.

#3 Updated by yllen 3 months ago

Applied in changeset r284.

#4 Updated by yllen 3 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF