glpi-project / glpi

GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing.
https://glpi-project.org
GNU General Public License v3.0
4.18k stars 1.28k forks source link

[GLPI10]: Requester field inaccessible #10922

Closed pas67 closed 2 years ago

pas67 commented 2 years ago

Code of Conduct

Is there an existing issue for this?

Version

10RC2

Bug description

after selecting a value for 'catégorie' while creating a ticket , the textfield 'demandeur' becomes unavailable for changes.

before selecting 'categorie' image

after: image

there was the same problem with 10RC1

Relevant log output

No response

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

Informations sur le système, l'installation et la configuration
GLPI 10.0.0-rc2 (/glpi => E:\xampp\htdocs\glpi)
Installation mode: TARBALL
Current language:fr_FR

Server
 
Operating system: Windows NT SRV-GLPI 10.0 build 17763 (Windows Server 2019) AMD64
PHP 8.1.2 apache2handler (Core, PDO, Phar, Reflection, SPL, SimpleXML, apache2handler, bcmath, bz2, calendar, ctype, curl, date,
    dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, openssl, pcre,
    pdo_mysql, pdo_sqlite, readline, session, standard, tokenizer, xml, xmlreader, xmlwriter, zip, zlib)
Setup: max_execution_time="600" memory_limit="512M" post_max_size="40M" safe_mode="" session.save_handler="files"
    upload_max_filesize="40M" 
Software: Apache/2.4.52 (Win64) OpenSSL/1.1.1m PHP/8.1.2 (Apache/2.4.52 (Win64) OpenSSL/1.1.1m PHP/8.1.2 Server at
    srv-glpi.dom.pas Port 80
)
    Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Server Software: mariadb.org binary distribution
    Server Version: 10.4.22-MariaDB
    Server SQL Mode: NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION
    Parameters: admin_glpi@localhost/glpi
    Host info: localhost via TCP/IP

PHP version (8.1.2) is supported.
Sessions configuration is OK.
Allocated memory is sufficient.
mysqli extension is installed.
Following extensions are installed: dom, fileinfo, json, simplexml.
curl extension is installed.
gd extension is installed.
intl extension is installed.
libxml extension is installed.
zlib extension is installed.
The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present.
Database engine version (10.4.22) is supported.
The log file has been created successfully.
Write access to E:\xampp\htdocs\glpi/files/_cache has been validated.
Write access to E:\xampp\htdocs\glpi/config has been validated.
Write access to E:\xampp\htdocs\glpi/files/_cron has been validated.
Write access to E:\xampp\htdocs\glpi/files has been validated.
Write access to E:\xampp\htdocs\glpi/files/_dumps has been validated.
Write access to E:\xampp\htdocs\glpi/files/_graphs has been validated.
Write access to E:\xampp\htdocs\glpi/files/_lock has been validated.
Write access to E:\xampp\htdocs\glpi/files/_pictures has been validated.
Write access to E:\xampp\htdocs\glpi/files/_plugins has been validated.
Write access to E:\xampp\htdocs\glpi/files/_rss has been validated.
Write access to E:\xampp\htdocs\glpi/files/_sessions has been validated.
Write access to E:\xampp\htdocs\glpi/files/_tmp has been validated.
Write access to E:\xampp\htdocs\glpi/files/_uploads has been validated.
Web access to files directory is protected
exif extension is installed.
ldap extension is installed.
openssl extension is installed.
zip extension is installed.
bz2 extension is installed.
Zend OPcache extension is not present.
Following extensions are installed: ctype, iconv, mbstring.
Following extensions are not present: sodium.
Write access to E:\xampp\htdocs\glpi/marketplace has been validated.
Access to timezone database (mysql) is not allowed.

GLPI constants
 
GLPI_ROOT: E:\xampp\htdocs\glpi
GLPI_CONFIG_DIR: E:\xampp\htdocs\glpi/config
GLPI_VAR_DIR: E:\xampp\htdocs\glpi/files
GLPI_MARKETPLACE_DIR: E:\xampp\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_ALLOW_OVERRIDE: 1
GLPI_MARKETPLACE_MANUAL_DOWNLOADS: 1
GLPI_USER_AGENT_EXTRA_COMMENTS: 
GLPI_DISABLE_ONLY_FULL_GROUP_BY_SQL_MODE: 1
GLPI_AJAX_DASHBOARD: 1
GLPI_CALDAV_IMPORT_STATE: 0
GLPI_DEMO_MODE: 0
GLPI_CENTRAL_WARNINGS: 1
GLPI_DOC_DIR: E:\xampp\htdocs\glpi/files
GLPI_CACHE_DIR: E:\xampp\htdocs\glpi/files/_cache
GLPI_CRON_DIR: E:\xampp\htdocs\glpi/files/_cron
GLPI_DUMP_DIR: E:\xampp\htdocs\glpi/files/_dumps
GLPI_GRAPH_DIR: E:\xampp\htdocs\glpi/files/_graphs
GLPI_LOCAL_I18N_DIR: E:\xampp\htdocs\glpi/files/_locales
GLPI_LOCK_DIR: E:\xampp\htdocs\glpi/files/_lock
GLPI_LOG_DIR: E:\xampp\htdocs\glpi/files/_log
GLPI_PICTURE_DIR: E:\xampp\htdocs\glpi/files/_pictures
GLPI_PLUGIN_DOC_DIR: E:\xampp\htdocs\glpi/files/_plugins
GLPI_RSS_DIR: E:\xampp\htdocs\glpi/files/_rss
GLPI_SESSION_DIR: E:\xampp\htdocs\glpi/files/_sessions
GLPI_TMP_DIR: E:\xampp\htdocs\glpi/files/_tmp
GLPI_UPLOAD_DIR: E:\xampp\htdocs\glpi/files/_uploads
GLPI_INVENTORY_DIR: E:\xampp\htdocs\glpi/files/_inventories
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:\xampp\htdocs\glpi/locales
GLPI_VERSION: 10.0.0-rc2
GLPI_SCHEMA_VERSION: 10.0.0-rc2@26641609f9b8fcb8038fb220c3fcafa75a95021f
GLPI_MARKETPLACE_PRERELEASES: 1
GLPI_MIN_PHP: 7.4.0
GLPI_MAX_PHP: 8.2.0
GLPI_YEAR: 2022

Libraries
 
htmlawed/htmlawed version 1.2.6 in (E:\xampp\htdocs\glpi\vendor\htmlawed\htmlawed)
phpmailer/phpmailer version 6.6.0 in (E:\xampp\htdocs\glpi\vendor\phpmailer\phpmailer\src)
simplepie/simplepie version 1.5.8 in (E:\xampp\htdocs\glpi\vendor\simplepie\simplepie\library)
mpdf/mpdf in (E:\xampp\htdocs\glpi\vendor\mpdf\mpdf\src)
michelf/php-markdown in (E:\xampp\htdocs\glpi\vendor\michelf\php-markdown\Michelf)
true/punycode in (E:\xampp\htdocs\glpi\vendor\true\punycode\src)
iamcal/lib_autolink in (E:\xampp\htdocs\glpi\vendor\iamcal\lib_autolink)
sabre/dav in (E:\xampp\htdocs\glpi\vendor\sabre\dav\lib\DAV)
sabre/http in (E:\xampp\htdocs\glpi\vendor\sabre\http\lib)
sabre/uri in (E:\xampp\htdocs\glpi\vendor\sabre\uri\lib)
sabre/vobject in (E:\xampp\htdocs\glpi\vendor\sabre\vobject\lib)
laminas/laminas-i18n in (E:\xampp\htdocs\glpi\vendor\laminas\laminas-i18n\src)
laminas/laminas-servicemanager in (E:\xampp\htdocs\glpi\vendor\laminas\laminas-servicemanager\src)
monolog/monolog in (E:\xampp\htdocs\glpi\vendor\monolog\monolog\src\Monolog)
sebastian/diff in (E:\xampp\htdocs\glpi\vendor\sebastian\diff\src)
donatj/phpuseragentparser in (E:\xampp\htdocs\glpi\vendor\donatj\phpuseragentparser\src\UserAgent)
elvanto/litemoji in (E:\xampp\htdocs\glpi\vendor\elvanto\litemoji\src)
symfony/console in (E:\xampp\htdocs\glpi\vendor\symfony\console)
scssphp/scssphp in (E:\xampp\htdocs\glpi\vendor\scssphp\scssphp\src)
laminas/laminas-mail in (E:\xampp\htdocs\glpi\vendor\laminas\laminas-mail\src\Protocol)
laminas/laminas-mime in (E:\xampp\htdocs\glpi\vendor\laminas\laminas-mime\src)
rlanvin/php-rrule in (E:\xampp\htdocs\glpi\vendor\rlanvin\php-rrule\src)
blueimp/jquery-file-upload in (E:\xampp\htdocs\glpi\vendor\blueimp\jquery-file-upload\server\php)
ramsey/uuid in (E:\xampp\htdocs\glpi\vendor\ramsey\uuid\src)
psr/log in (E:\xampp\htdocs\glpi\vendor\psr\log\Psr\Log)
psr/simple-cache in (E:\xampp\htdocs\glpi\vendor\psr\simple-cache\src)
psr/cache in (E:\xampp\htdocs\glpi\vendor\psr\cache\src)
league/csv in (E:\xampp\htdocs\glpi\vendor\league\csv\src)
mexitek/phpcolors in (E:\xampp\htdocs\glpi\vendor\mexitek\phpcolors\src\Mexitek\PHPColors)
guzzlehttp/guzzle in (E:\xampp\htdocs\glpi\vendor\guzzlehttp\guzzle\src)
guzzlehttp/psr7 in (E:\xampp\htdocs\glpi\vendor\guzzlehttp\psr7\src)
glpi-project/inventory_format in (E:\xampp\htdocs\glpi\vendor\glpi-project\inventory_format\lib\php)
wapmorgan/unified-archive in (E:\xampp\htdocs\glpi\vendor\wapmorgan\unified-archive\src)
paragonie/sodium_compat in (E:\xampp\htdocs\glpi\vendor\paragonie\sodium_compat\src)
symfony/cache in (E:\xampp\htdocs\glpi\vendor\symfony\cache)
html2text/html2text in (E:\xampp\htdocs\glpi\vendor\html2text\html2text\src)
symfony/dom-crawler in (E:\xampp\htdocs\glpi\vendor\symfony\dom-crawler)
twig/twig in (E:\xampp\htdocs\glpi\vendor\twig\twig\src)
twig/string-extra in (E:\xampp\htdocs\glpi\vendor\twig\string-extra)
symfony/polyfill-ctype not found
symfony/polyfill-iconv not found
symfony/polyfill-mbstring not found
symfony/polyfill-php80 not found

LDAP directories
 
Server: 'SRV-xxx', Port: '389', BaseDN: 'DC=DOM,DC=PAS', Connection filter:
        '(&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))', RootDN:
        'CN=SVC_LDAP;OU=SERVICES,OU=USERS,OU=_PAS,DC=DOM,DC=PAS', Use TLS: none

SQL replicas
 
Not active

Notifications
 
Way of sending emails: SMTP (anonymous@smtp.dom.pas)

Plugins list
 
    fields               Name: Champs supplémentaires         Version: 1.13.0-rc2 State: Enabled
    datainjection        Name: Data Injection                 Version: 2.10.0-rc2 State: Enabled
    genericobject        Name: Gestion d'objets               Version: 2.12.0-rc2 State: Enabled
    glpiinventory        Name: GLPI Inventory                 Version: 1.0.0-rc4  State: Enabled
    mreporting           Name: Plus de rapports               Version: 1.8.0-rc3  State: Enabled

Anything else?

No response

cconard96 commented 2 years ago

It looks like there is a different ticket template associated with the new category. What settings are in that template for hidden fields?.

pas67 commented 2 years ago

Hello

No templates are attached when creating a new ticket.

I’ve tried to set the profile PAS on my user profile : @. @.

@.***

@.***

Also, there was a predifined field , but it is not filled with the preset value @.***

Thanks

Best regards

Tuyen

De : Curtis Conard @.> Envoyé : mercredi 9 mars 2022 11:16 À : glpi-project/glpi @.> Cc : si @.>; Author @.> Objet : Re: [glpi-project/glpi] [GLPI10]: champ demandeur inaccessible (Issue #10922)

It looks like there is a different ticket template associated with the new category. What settings are in that template for hidden fields?.

— Reply to this email directly, view it on GitHubhttps://github.com/glpi-project/glpi/issues/10922#issuecomment-1062764909, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYEOE7MTP4L6FLOGPBRT6I3U7B273ANCNFSM5QIYW73A. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.**@.>>

cedric-anne commented 2 years ago

Hi,

Could you try to reproduce on GLPI 10.0.0-rc3 ?

Also, what is your default ticket template configuration ?

trasher commented 2 years ago

No feedback from a while, closing.

pas67 commented 2 years ago

My apologies for my late answers. I've the same problem with RC3 (selecting dropdown list 'Categories' reload the page, and field 'Demandeur' can't be modified) by default there's no selected template (neither default or other) attaching a template gives the same result I've modified the default template, deleting all fields (hidden and mandatory), with the same result. Adding 'Demandeur' as mandatory or Hidden lead to the same result.

deselecting 'Categories' reloads the page, 'Demandeur' is then again available image

thanks for your help