Repository navigation
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
Disable plugins
- I reproduce the issue with all plugins disabled
Is there an existing issue for this?
- I have searched the existing issues
Version
12.0.2
Bug description
On the Targets tab of a Reminder or RSS Feed, add a Group or Profile with an entity scope. Add the same target with the same scope again. The second addition can create a duplicate. Adding the same Group or Profile with a different entity scope should remain possible.
Relevant log output
Page URL
/front/reminder.form.php?id=1
Steps To reproduce
- Open a Reminder or RSS Feed you can edit and go to its Targets tab.
- Under Add a target, choose Group and select an existing group, such as Helpdesk.
- Select Root entity > Child A in the Entity dropdown and click Add.
- Repeat with the same group and entity. The target list can now contain two Helpdesk entries for Child A.
- Add the same group for Root entity > Child B. This should succeed and is a separate target.
The same steps apply to a Profile target.
Your GLPI setup information
GLPI information
GLPI: 12.0.2 ( => /home/nethouse/web/glpi.nethouse.inf.br/public_html) Installation mode: TARBALL Current language: pt_BR Source Integrity: 31 files changed M: ajax/visibility.php M: css/includes/components/_kb.scss M: css/includes/components/_select2.scss M: css/standalone/stencil-editor.scss M: front/reminder.form.php M: front/rssfeed.form.php M: public/css_compiled/css_glpi.min.css M: public/css_compiled/css_install.min.css M: public/css_compiled/css_standalone_stencil-editor.min.css M: public/js/common.js M: public/js/common.min.js M: public/js/modules/Knowbase/PermissionsFormController.js M: public/js/modules/Knowbase/PermissionsFormController.min.js M: public/js/stencil-editor.js M: src/CommonDBVisible.php M: src/Entity_KnowbaseItem.php M: src/Entity_RSSFeed.php M: src/Entity_Reminder.php M: src/Glpi/Controller/Knowbase/AddPermissionController.php M: src/Glpi/Controller/Knowbase/PermissionDropdownController.php M: src/Group_KnowbaseItem.php M: src/Group_RSSFeed.php M: src/Group_Reminder.php M: src/KnowbaseItem.php M: src/KnowbaseItem_Profile.php ...
Server
Operating system: Linux hestiacp1.nethouse.inf.br 7.0.0-1015-oracle #16-Ubuntu SMP PREEMPT Mon Oct 19 20:02:48 UTC 2026 x86_64PHP: 8.5.13 fpm-fcgi
PHP extensions: Core, date, lexbor, openssl, pcre, zlib, filter, hash, json, uri, Zend OPcache, random, Reflection, SPL, session, standard, sodium, libxml, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, imagick, imap, intl, ldap, exif, mysqli, pdo_mysql, pdo_pgsql, pgsql, Phar, posix, pspell, readline, shmop, SimpleXML, soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip
Setup: disable_functions="pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen" max_execution_time="60" max_input_vars="4000" memory_limit="128M" post_max_size="100M" session.cookie_secure="1" session.cookie_httponly="1" session.cookie_samesite="" session.save_handler="files" upload_max_filesize="100M"
Web server: nginx/1.31.10 ()
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/158.0.0.0 Safari/537.36
Database:
Server Software: MySQL Enterprise - Cloud
Server Version: 26.10.0-cloud
Server SQL Mode: STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
Parameters: nethouse_glpi@MySQL_Endpoint_Server/nethouse_glpi
Host info: MySQL_Endpoint_Server via TCP/IP
Requirements:
PHP version (8.5.13) is supported.
OS and PHP are relying on 64 bits integers.
Sessions configuration is OK.
Allocated memory is sufficient.
Following extensions are installed: dom, fileinfo, filter, libxml, simplexml, tokenizer, xmlreader, xmlwriter.
mysqli extension is installed
curl extension is installed
gd extension is installed
intl extension is installed
mbstring extension is installed
zlib extension is installed
bcmath extension is installed
The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present.
openssl extension is installed
Database engine version (26.10.0) is supported.
Write access to log files has been validated.
Write access to /home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_cache has been validated.
Write access to /home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_cron has been validated.
Write access to /home/nethouse/web/glpi.nethouse.inf.br/public_html/files has been validated.
Write access to /home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_graphs has been validated.
Write access to /home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_lock has been validated.
Write access to /home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_pictures has been validated.
Write access to /home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_plugins has been validated.
Write access to /home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_rss has been validated.
Write access to /home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_sessions has been validated.
Write access to /home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_tmp has been validated.
Write access to /home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_uploads has been validated.
Security key files are accessibles.Sessions configuration is secured.
exif extension is installed
ldap extension is installed
Following extensions are installed: bz2, Phar, zip.
Zend OPcache extension is installed
Following extensions are installed: ctype, iconv, sodium.
Write access to /home/nethouse/web/glpi.nethouse.inf.br/public_html/marketplace has been validated.
Timezones seems loaded in database.
GLPI constants
GLPI_ROOT: "/home/nethouse/web/glpi.nethouse.inf.br/public_html"
GLPI_VERSION: "12.0.2"
GLPI_SCHEMA_VERSION: "12.0.2@f5c81258ff0fea6419bb876b875eb658225b5fdb"
GLPI_FILES_VERSION: "12.0.2-eb8a5e13"
GLPI_MIN_PHP: "8.3"
GLPI_MAX_PHP: "8.5"
GLPI_YEAR: "2026"
GLPI_I18N_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/locales"
GLPI_ENVIRONMENT_TYPE: "production"
GLPI_CONFIG_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/config"
GLPI_VAR_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files"
GLPI_MARKETPLACE_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/marketplace"
GLPI_ALLOW_IFRAME_IN_RICH_TEXT: false
GLPI_SERVERSIDE_URL_ALLOWED_PRIVATE_NETWORKS_CONTEXTS: ["Agent","Auth"]
GLPI_DISALLOWED_UPLOADS_PATTERN: "/\.(php\d*|phar)$/i"
GLPI_TRUSTED_REVERSE_PROXIES: []
GLPI_REVERSE_PROXY_HEADERS: ["X-Forwarded-For"]
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_ENABLE: 3
GLPI_MARKETPLACE_PRERELEASES: false
GLPI_MARKETPLACE_ALLOW_OVERRIDE: true
GLPI_MARKETPLACE_MANUAL_DOWNLOADS: true
GLPI_USER_AGENT_EXTRA_COMMENTS: ""
GLPI_DOCUMENTATION_ROOT_URL: "https://links.glpi-project.org"
GLPI_DISABLE_ONLY_FULL_GROUP_BY_SQL_MODE: "1"
GLPI_DISABLE_REAUTH: false
GLPI_LOG_LVL: "warning"
GLPI_SKIP_UPDATES: false
GLPI_STRICT_ENV: false
GLPI_AJAX_DASHBOARD: "1"
GLPI_CALDAV_IMPORT_STATE: 0
GLPI_CENTRAL_WARNINGS: "1"
GLPI_SYSTEM_CRON: false
GLPI_TEXT_MAXSIZE: "4000"
GLPI_WEBHOOK_ALLOW_RESPONSE_SAVING: "0"
GLPI_WEBHOOK_CRA_MANDATORY: false
GLPI_ALTCHA_MODE: "interactive"
GLPI_ALTCHA_COST: 5000
GLPI_ALTCHA_EXPIRATION_INTERVAL: "PT20M"
GLPI_DOC_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files"
GLPI_CACHE_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_cache"
GLPI_CRON_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_cron"
GLPI_GRAPH_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_graphs"
GLPI_LOCAL_I18N_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_locales"
GLPI_LOCK_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_lock"
GLPI_LOG_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_log"
GLPI_PICTURE_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_pictures"
GLPI_PLUGIN_DOC_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_plugins"
GLPI_RSS_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_rss"
GLPI_SESSION_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_sessions"
GLPI_TMP_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_tmp"
GLPI_UPLOAD_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_uploads"
GLPI_INVENTORY_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_inventories"
GLPI_THEMES_DIR: "/home/nethouse/web/glpi.nethouse.inf.br/public_html/files/_themes"
GLPI_PLUGINS_DIRECTORIES: ["/home/nethouse/web/glpi.nethouse.inf.br/public_html/marketplace","/home/nethouse/web/glpi.nethouse.inf.br/public_html/plugins"]
GLPI_NETWORK_API_URL: "https://services.glpi-network.com/api"
GLPI_NETWORK_REGISTRATION_API_URL: "https://services.glpi-network.com/api/registration/"
GLPI_MARKETPLACE_PLUGINS_API_URI: "https://services.glpi-network.com/api/marketplace/"
SQL replicas
Not active
Notifications
Way of sending emails: SMTP(smtp://glpi%40nethouse.inf.br:********@mail.nethouse.inf.br:465?local_domain=glpi.nethouse.inf.br)
Plugins list
pdf Name: Print to pdf Version: 4.2.0 State: Enabled Install Method: Marketplace
singlesignon Name: Single Sign-on Version: 2.1.1 State: Enabled Install Method: Manual
trademark Name: Trademark Version: 3.0.0 State: Not installed Install Method: Manual
Anything else?
Apply duplicate checks to User, Entity, Group, and Profile targets. For Groups and Profiles, a target’s Entity scope is part of its identity. For example, you can add the Helpdesk group for both Child A and Child B. Adding Helpdesk for Child A a second time should be rejected as a duplicate.
Related discussion in #24375.
Activity