Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

computers is templates : name always empty after update or create a template #8818

Closed
dgsn opened this issue Mar 11, 2021 · 0 comments
Closed
Labels
Milestone

Comments

@dgsn
Copy link

dgsn commented Mar 11, 2021

Describe the bug

name always empty after update or create a template

Page(s) URL

http://glpi/glpi/ajax/common.tabs.php?_target=%2Fglpi%2Ffront%2Fcomputer.form.php&_itemtype=Computer&_glpi_tab=Computer%24main&id=955&withtemplate=1&formoptions=data-track-changes%3Dtrue&full_page_tab=1

To reproduce

Steps to reproduce the behavior:

  1. Go to : open computer template
  2. modify any zone
  3. click sur "sauvegarder"
  4. See error : template is dysplay with zone "name" empty

Expected behavior

in all case the zone "name" must have a value if this value exists befor the update

Logs --> nothing abaout the problem

[Thu Mar 11 10:17:12.918690 2021] [mpm_winnt:notice] [pid 6652:tid 628] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Mar 11 10:17:14.949888 2021] [mpm_winnt:notice] [pid 400:tid 584] AH00364: Child: All worker threads have exited.
[Thu Mar 11 10:17:15.059259 2021] [mpm_winnt:notice] [pid 6652:tid 628] AH00430: Parent: Child process 400 exited successfully.
[Thu Mar 11 10:17:22.326436 2021] [ssl:warn] [pid 580:tid 512] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 11 10:17:22.529554 2021] [ssl:warn] [pid 580:tid 512] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 11 10:17:25.336445 2021] [mpm_winnt:notice] [pid 580:tid 512] AH00455: Apache/2.4.37 (Win32) mod_authnz_sspi/0.1.0 OpenSSL/1.1.1 PHP/7.2.12 configured -- resuming normal operations
[Thu Mar 11 10:17:25.336445 2021] [mpm_winnt:notice] [pid 580:tid 512] AH00456: Apache Lounge VC15 Server built: Oct 18 2018 17:16:04
[Thu Mar 11 10:17:25.336445 2021] [core:notice] [pid 580:tid 512] AH00094: Command line: 'E:\xampp\apache\bin\httpd.exe -d E:/xampp/apache'
[Thu Mar 11 10:17:25.352084 2021] [mpm_winnt:notice] [pid 580:tid 512] AH00418: Parent: Created child process 6284
[Thu Mar 11 10:17:26.117683 2021] [ssl:warn] [pid 6284:tid 592] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 11 10:17:26.242684 2021] [ssl:warn] [pid 6284:tid 592] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 11 10:17:26.367678 2021] [mpm_winnt:notice] [pid 6284:tid 592] AH00354: Child: Starting 150 worker threads.

Screenshots

If applicable, add screenshots to help explain your problem.
Before 👍
image
After update 👍
image

Your GLPI setup (you can find it in Setup > General menu, System tab)

[code]

GLPI 9.5.4 (/glpi => E:\htdocs\glpi)
Installation mode: TARBALL

Server

Operating system: Windows NT SVXAMPPTR04 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) i586
PHP 7.2.12 apache2handler (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, apcu, bcmath, bz2,
calendar, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, ldap, libxml,
mbstring, mysqli, mysqlnd, openssl, pcre, pdo_mysql, pdo_sqlite, readline, session, soap, sockets, sodium, sqlite3, standard,
tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib)
Setup: max_execution_time="6200" memory_limit="1024M" post_max_size="0" safe_mode="" session.save_handler="files"
upload_max_filesize="250M"
Software: Apache/2.4.37 (Win32) mod_authnz_sspi/0.1.0 OpenSSL/1.1.1 PHP/7.2.12 (Apache/2.4.37 (Win32) mod_authnz_sspi/0.1.0
OpenSSL/1.1.1 PHP/7.2.12 Server at glpi Port 80)
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36
Server Software: mariadb.org binary distribution
Server Version: 10.1.37-MariaDB
Server SQL Mode:
Parameters: root@localhost/glpi
Host info: localhost via TCP/IP

PHP version is at least 7.2.0 - Perfect!PHP version is at least 7.2.0 - Perfect!
Sessions support is available - Perfect!Sessions support is available - Perfect!
Allocated memory > 64 Mio - Perfect!Allocated memory > 64 Mio - Perfect!
mysqli extension is installedmysqli extension is installed
ctype extension is installedctype extension is installed
fileinfo extension is installedfileinfo extension is installed
json extension is installedjson extension is installed
mbstring extension is installedmbstring extension is installed
iconv extension is installediconv extension is installed
zlib extension is installedzlib extension is installed
curl extension is installedcurl extension is installed
gd extension is installedgd extension is installed
simplexml extension is installedsimplexml extension is installed
intl extension is installedintl extension is installed
ldap extension is installedldap extension is installed
apcu extension is installedapcu extension is installed
Zend OPcache extension is installedZend OPcache extension is installed
xmlrpc extension is installedxmlrpc extension is installed
CAS extension is not presentCAS extension is not present
exif extension is installedexif extension is installed
zip extension is installedzip extension is installed
bz2 extension is installedbz2 extension is installed
sodium extension is installedsodium extension is installed
Database version seems correct (10.1.37) - Perfect!Database version seems correct (10.1.37) - Perfect!
Timezones seems loaded in databaseTimezones seems loaded in database
The log file has been created successfully.The log file has been created successfully.
Write access to E:\htdocs\glpi/files/_cache has been validated.Write access to E:\htdocs\glpi/files/_cache has been validated.
Write access to E:\htdocs\glpi/config has been validated.Write access to E:\htdocs\glpi/config has been validated.
Write access to E:\htdocs\glpi/files/_cron has been validated.Write access to E:\htdocs\glpi/files/_cron has been validated.
Write access to E:\htdocs\glpi/files has been validated.Write access to E:\htdocs\glpi/files has been validated.
Write access to E:\htdocs\glpi/files/_dumps has been validated.Write access to E:\htdocs\glpi/files/_dumps has been validated.
Write access to E:\htdocs\glpi/files/_graphs has been validated.Write access to E:\htdocs\glpi/files/_graphs has been validated.
Write access to E:\htdocs\glpi/files/_lock has been validated.Write access to E:\htdocs\glpi/files/_lock has been validated.
Write access to E:\htdocs\glpi/files/_pictures has been validated.Write access to E:\htdocs\glpi/files/_pictures has been validated.
Write access to E:\htdocs\glpi/files/_plugins has been validated.Write access to E:\htdocs\glpi/files/_plugins has been validated.
Write access to E:\htdocs\glpi/files/_rss has been validated.Write access to E:\htdocs\glpi/files/_rss has been validated.
Write access to E:\htdocs\glpi/files/_sessions has been validated.Write access to E:\htdocs\glpi/files/_sessions has been validated.
Write access to E:\htdocs\glpi/files/_tmp has been validated.Write access to E:\htdocs\glpi/files/_tmp has been validated.
Write access to E:\htdocs\glpi/files/_uploads has been validated.Write access to E:\htdocs\glpi/files/_uploads has been validated.
Write access to E:\htdocs\glpi/marketplace has been validated.Write access to E:\htdocs\glpi/marketplace has been validated.
Web access to the files directory should not be allowed but this cannot be checked automatically on this instance. Make sure access to error log file (/glpi/files/_log/php-errors.log) is forbidden; otherwise review .htaccess file and web server configuration.Web access to the files directory should not be allowed but this cannot be checked automatically on this instance.
Make sure access to error log file (/glpi/files/_log/php-errors.log) is forbidden; otherwise review .htaccess file and web server configuration.

GLPI constants

GLPI_ROOT: E:\htdocs\glpi
GLPI_CONFIG_DIR: E:\htdocs\glpi/config
GLPI_VAR_DIR: E:\htdocs\glpi/files
GLPI_MARKETPLACE_DIR: E:\htdocs\glpi/marketplace
GLPI_USE_CSRF_CHECK: 1
GLPI_CSRF_EXPIRES: 7200
GLPI_CSRF_MAX_TOKENS: 100
GLPI_USE_IDOR_CHECK: 1
GLPI_IDOR_EXPIRES: 7200
GLPI_ALLOW_IFRAME_IN_RICH_TEXT:
GLPI_TELEMETRY_URI: https://telemetry.glpi-project.org
GLPI_INSTALL_MODE: TARBALL
GLPI_NETWORK_MAIL: glpi@teclib.com
GLPI_NETWORK_SERVICES: https://services.glpi-network.com
GLPI_MARKETPLACE_PRERELEASES:
GLPI_USER_AGENT_EXTRA_COMMENTS:
GLPI_AJAX_DASHBOARD: 1
GLPI_CALDAV_IMPORT_STATE: 0
GLPI_DEMO_MODE: 0
GLPI_FORCE_EMPTY_SQL_MODE: 1
GLPI_DOC_DIR: E:\htdocs\glpi/files
GLPI_CACHE_DIR: E:\htdocs\glpi/files/_cache
GLPI_CRON_DIR: E:\htdocs\glpi/files/_cron
GLPI_DUMP_DIR: E:\htdocs\glpi/files/_dumps
GLPI_GRAPH_DIR: E:\htdocs\glpi/files/_graphs
GLPI_LOCAL_I18N_DIR: E:\htdocs\glpi/files/_locales
GLPI_LOCK_DIR: E:\htdocs\glpi/files/_lock
GLPI_LOG_DIR: E:\htdocs\glpi/files/_log
GLPI_PICTURE_DIR: E:\htdocs\glpi/files/_pictures
GLPI_PLUGIN_DOC_DIR: E:\htdocs\glpi/files/_plugins
GLPI_RSS_DIR: E:\htdocs\glpi/files/_rss
GLPI_SESSION_DIR: E:\htdocs\glpi/files/_sessions
GLPI_TMP_DIR: E:\htdocs\glpi/files/_tmp
GLPI_UPLOAD_DIR: E:\htdocs\glpi/files/_uploads
GLPI_NETWORK_REGISTRATION_API_URL: https://services.glpi-network.com/api/registration/
GLPI_MARKETPLACE_PLUGINS_API_URI: https://services.glpi-network.com/api/glpi-plugins/
GLPI_I18N_DIR: E:\htdocs\glpi/locales
GLPI_VERSION: 9.5.4
GLPI_SCHEMA_VERSION: 9.5.4
GLPI_MIN_PHP: 7.2.0
GLPI_YEAR: 2021

Libraries

htmlawed/htmlawed version 1.2.5 in (E:\htdocs\glpi\vendor\htmlawed\htmlawed)
phpmailer/phpmailer version 6.1.6 in (E:\htdocs\glpi\vendor\phpmailer\phpmailer\src)
simplepie/simplepie version 1.5.6 in (E:\htdocs\glpi\vendor\simplepie\simplepie\library)
tecnickcom/tcpdf version 6.3.5 in (E:\htdocs\glpi\vendor\tecnickcom\tcpdf)
michelf/php-markdown in (E:\htdocs\glpi\vendor\michelf\php-markdown\Michelf)
true/punycode in (E:\htdocs\glpi\vendor\true\punycode\src)
iamcal/lib_autolink in (E:\htdocs\glpi\vendor\iamcal\lib_autolink)
sabre/dav in (E:\htdocs\glpi\vendor\sabre\dav\lib\DAV)
sabre/http in (E:\htdocs\glpi\vendor\sabre\http\lib)
sabre/uri in (E:\htdocs\glpi\vendor\sabre\uri\lib)
sabre/vobject in (E:\htdocs\glpi\vendor\sabre\vobject\lib)
laminas/laminas-cache in (E:\htdocs\glpi\vendor\laminas\laminas-cache\src)
laminas/laminas-i18n in (E:\htdocs\glpi\vendor\laminas\laminas-i18n\src)
laminas/laminas-serializer in (E:\htdocs\glpi\vendor\laminas\laminas-serializer\src)
monolog/monolog in (E:\htdocs\glpi\vendor\monolog\monolog\src\Monolog)
sebastian/diff in (E:\htdocs\glpi\vendor\sebastian\diff\src)
elvanto/litemoji in (E:\htdocs\glpi\vendor\elvanto\litemoji\src)
symfony/console in (E:\htdocs\glpi\vendor\symfony\console)
scssphp/scssphp in (E:\htdocs\glpi\vendor\scssphp\scssphp\src)
laminas/laminas-mail in (E:\htdocs\glpi\vendor\laminas\laminas-mail\src\Protocol)
laminas/laminas-mime in (E:\htdocs\glpi\vendor\laminas\laminas-mime\src)
rlanvin/php-rrule in (E:\htdocs\glpi\vendor\rlanvin\php-rrule\src)
blueimp/jquery-file-upload in (E:\htdocs\glpi\vendor\blueimp\jquery-file-upload\server\php)
ramsey/uuid in (E:\htdocs\glpi\vendor\ramsey\uuid\src)
psr/log in (E:\htdocs\glpi\vendor\psr\log\Psr\Log)
psr/simple-cache in (E:\htdocs\glpi\vendor\psr\simple-cache\src)
mexitek/phpcolors in (E:\htdocs\glpi\vendor\mexitek\phpcolors\src\Mexitek\PHPColors)
guzzlehttp/guzzle in (E:\htdocs\glpi\vendor\guzzlehttp\guzzle\src)
guzzlehttp/psr7 in (E:\htdocs\glpi\vendor\guzzlehttp\psr7\src)
wapmorgan/unified-archive in (E:\htdocs\glpi\vendor\wapmorgan\unified-archive\src)
paragonie/sodium_compat in (E:\htdocs\glpi\vendor\paragonie\sodium_compat\src)

LDAP directories

Server: xxx

SQL replicas

Not active

Notifications

Way of sending emails: SMTP (anonymous@proxy-smtp.rouenhabitat.fr)

Mails receivers

Name: xxx

Plugins list

addressing           Name: Adressage IP                   Version: 2.9.0      State: Not installed
fields               Name: Champs supplémentaires         Version: 1.12.2     State: Enabled
datainjection        Name: Data Injection                 Version: 2.9.0      State: Enabled
archimap             Name: Diagrammes                     Version: 2.2.1      State: Enabled
formcreator          Name: Form Creator                   Version: 2.11.2     State: Enabled
genericobject        Name: Gestion d'objets               Version: 2.10.0     State: Enabled
pdf                  Name: Impression pdf                 Version: 1.7.0      State: Enabled
mreporting           Name: Plus de rapports               Version: 1.7.1      State: Enabled
purgelogs            Name: Purge de l'historique          Version: 1.3.0      State: Enabled
reports              Name: Rapports                       Version: 1.14.0     State: Enabled
watermark            Name: Watermark                      Version: 1.0.0      State: Enabled

[/code]


**Additional context**

Add any other context about the problem here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants