dolibarr-bugtrack
[Top][All Lists]
Advanced

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

[Dolibarr-bugtrack] [Bug #1317] Removing a category does not remove all


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1317] Removing a category does not remove all child categories
Date: Mon, 31 Mar 2014 00:15:19 +0200

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

Removing a category does not remove all child categories

Snapshot

 Details
Last Modified On:  2014-03-31 00:15 Submitted by:  Marcos García (marcosgdf)
Submitted on:  2014-03-31 00:15 
Summary:  Removing a category does not remove all child categories
Description:  Reported by a dolibarr.es forum user in http://dolibarr.es/index.php/foro/7-bugs-versiones-estables/4930-eliminar-categoria-con-subcategoria-asociada#4946

It does happen in 3.4.2 and 3.5.1. A fixed is required for 3.4.3 and 3.5.2.

( ! ) Xdebug: user triggered in /var/www/htdocs/core/lib/functions.lib.php on line 2324
Call Stack
# Time Memory Function Location
1 0.0014 235736 {main}( ) ../viewcat.php:0
2 0.0428 1402448 Categorie->print_all_ways( ) ../viewcat.php:154
3 0.0428 1402736 Categorie->get_all_ways( ) ../categorie.class.php:956
4 0.0433 1405616 Categorie->get_all_ways( ) ../categorie.class.php:1083
5 0.0435 1408328 Categorie->get_all_ways( ) ../categorie.class.php:1083
6 0.0438 1413520 Categorie->get_all_ways( ) ../categorie.class.php:1083
7 0.0438 1413656 Categorie->get_meres( ) ../categorie.class.php:1078
8 0.0439 1412056 dol_print_error( ) ../categorie.class.php:1063
9 0.0485 1450656 xdebug_print_function_stack ( ) ../functions.lib.php:2324
Dolibarr ha detectado un error técnico.
He aquí la información que podrá ayudar al diagnóstico:
Fecha: 20140330221505
Dolibarr: 3.5.1
Nivel de funciones: 0
PHP: 5.5.9-1~dotdeb.1
Server: Apache/2.2.22 (Debian)

URL solicitada: /categories/viewcat.php?id=6&type=2
Referer: http://dev.dolibarr.org/categories/fiche.php?type=2
Gestor de menú: eldy_menu.php

Tipo de gestor de base de datos: mysqli
Petición último acceso a la base de datos erróneo: SELECT fk_parent FROM llx_categorie WHERE rowid =
Código devuelto último acceso a la base de datos erróneo: DB_ERROR_SYNTAX
Información sobre el último acceso a la base de datos erróneo: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

XDebug informations:
File: /var/www/htdocs/categories/class/categorie.class.php
Line: 1063
Function: get_meres


( ! ) Warning: Invalid argument supplied for foreach() in /var/www/htdocs/categories/class/categorie.class.php on line 1081
Call Stack
# Time Memory Function Location
1 0.0014 235736 {main}( ) ../viewcat.php:0
2 0.0428 1402448 Categorie->print_all_ways( ) ../viewcat.php:154
3 0.0428 1402736 Categorie->get_all_ways( ) ../categorie.class.php:956
4 0.0433 1405616 Categorie->get_all_ways( ) ../categorie.class.php:1083
5 0.0435 1408328 Categorie->get_all_ways( ) ../categorie.class.php:1083
6 0.0438 1413520 Categorie->get_all_ways( ) ../categorie.class.php:1083
Step to reproduce bug:  1. Create a category
2. Create a child category of the 1st one.
3. Remove parent category
4. Create a new category child of the child category
5. PHP Error
Detected in version:  3.4.1 Category:  Module: Categories
Severity:  6 OS Type/Version:  
PHP version:   Database type and version:  
 Status
Status:  Open Assigned to:  None
Resolution:  None 

Answer now



reply via email to

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