You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2020-10-27 21:34:08

Tja
Member
Registered: 2020-01-31
Posts: 34

bug when i create a printer with gabarit

Hello

i must restart my adress bar for create a printer with gabarit
it's work but i restart always my adress bar       /front/printer.form.php?id=234&withtemplate=2



in php-errors  i have this

--------------------------------------------------------------------------------------------

[2020-10-27 22:11:52] glpiphplog.CRITICAL:   *** Uncaught Exception RuntimeException: Cannot guess  in C:\inetpub\wwwroot\inc\commondbchild.class.php at line 867
  Backtrace :
  inc\features\clonable.class.php:68                 CommonDBChild::getItemField()
  inc\commondbtm.class.php:1234                      Printer->post_clone()
  inc\commondbtm.class.php:1070                      CommonDBTM->clone()
  front\printer.form.php:50                          CommonDBTM->add()
--------------------------------------------------------------------------------------------------------------------------------------------------------
i m uninstall the plug in Field

in line 867 (it's that code : ''throw new \RuntimeException('Cannot guess ');'' )



any idea for solve

i have no other bug with computer ''gabarit'' or monitor
i have this error only for printer

thank i love glpi

Offline

#2 2020-11-09 12:57:20

webmastergreg
Member
Registered: 2010-09-23
Posts: 131
Website

Re: bug when i create a printer with gabarit

Hi
I can confirm this bug
Same behaviour

[2020-11-09 10:42:03] glpiphplog.CRITICAL:   *** Uncaught Exception RuntimeException: Cannot guess  in /home/x/public_html/GLPITEST/inc/commondbchild.class.php at line 867
  Backtrace :
  inc/features/clonable.class.php:68                 CommonDBChild::getItemField()
  inc/commondbtm.class.php:1234                      Printer->post_clone()
  inc/commondbtm.class.php:1070                      CommonDBTM->clone()
  front/printer.form.php:50                          CommonDBTM->add()

Last edited by webmastergreg (2020-11-09 13:11:39)


GLPI 10.0.7 / LSWS Enterprise 6.1.2 + PHP 8.1.25 with Zend OPcache + MariaDB 10.3.39  / CENTOS 7.9

Offline

#3 2020-12-16 10:40:00

webmastergreg
Member
Registered: 2010-09-23
Posts: 131
Website

Re: bug when i create a printer with gabarit

Hi
this bug evolved a bit with GLPI 9.5.3.
#8218 **Blank page when i use a template in printer GLPI 9.5.2 but work with GLPI 9.5 **

First CRITICAL seems fixed, but now I get this :

Uncaught Exception RuntimeException: Cannot guess field for itemtype Printer on Cartridge in /inc/commondbchild.class.php at line 882

Last edited by webmastergreg (2020-12-16 11:20:10)


GLPI 10.0.7 / LSWS Enterprise 6.1.2 + PHP 8.1.25 with Zend OPcache + MariaDB 10.3.39  / CENTOS 7.9

Offline

Board footer

Powered by FluxBB