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

Pending Reason Not Automatically Removed When Changing Status via Business Rule #18033

Open
2 tasks done
nicksouzasv opened this issue Oct 8, 2024 · 0 comments
Open
2 tasks done

Comments

@nicksouzasv
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Version

10.0.16

Bug description

Problem Description: I am using GLPI version 10.0.16 and have configured some pending reasons. I created a business rule so that when a ticket is under validation and the validation is granted, the ticket status changes back to "in progress". The business rule works, but the pending reason is not automatically removed, resulting in an inconsistency in the ticket processing.

image
image

Current Behavior: The pending reason is not automatically removed, remaining active on the ticket even after the status change.

Expected Behavior: When the ticket status changes from "validation" to "in progress" via a business rule, the pending reason should be automatically removed.

Relevant log output

No response

Page URL

No response

Steps To reproduce

Set up a pending reason for a ticket.
Create a business rule to change the status back to "in progress" once the validation is granted.
Grant the validation on the ticket and observe the status changing to "in progress."
Notice that the pending reason remains configured on the ticket, even after the status change.

Your GLPI setup information

Operating system: Linux csrv-glpi-homolog 6.8.0-39-generic #​39-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 21:49:14 UTC 2024 x86_64
PHP 8.2.22 fpm-fcgi (Core, FFI, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apcu, bz2, calendar, cgi-fcgi, ctype, curl,
date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd,
openssl, pcre, pdo_mysql, posix, random, readline, session, shmop, sockets, sodium, standard, sysvmsg, sysvsem, sysvshm,
tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib)
Setup: max_execution_time="30" memory_limit="2048M" post_max_size="8M" safe_mode="" session.save_handler="files"
upload_max_filesize="25M" disable_functions=""
Software: Apache/2.4.58 (Ubuntu) (Apache/2.4.58 (Ubuntu) Server at asvqas.servicedeskglpi.com.br Port 443
)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
Server Software: (Ubuntu)
Server Version: 8.0.39-0ubuntu0.24.04.2
Server SQL Mode: STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
Parameters: root@localhost/glpi_asv
Host info: Localhost via UNIX socket

PHP version (8.2.22) is supported.PHP version (8.2.22) is supported.
Sessions configuration is OK.Sessions configuration is OK.
Allocated memory is sufficient.Allocated memory is sufficient.
mysqli extension is installed.mysqli extension is installed.
Following extensions are installed: dom, fileinfo, filter, libxml, json, simplexml, xmlreader, xmlwriter.Following extensions are installed: dom, fileinfo, filter, libxml, json, simplexml, xmlreader, xmlwriter.
curl extension is installed.curl extension is installed.
gd extension is installed.gd extension is installed.
intl extension is installed.intl extension is installed.
zlib extension is installed.zlib extension is installed.
The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present.The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present.
Database engine version (8.0.39) is supported.Database engine version (8.0.39) is supported.
No files from previous GLPI version detected.No files from previous GLPI version detected.
The log file has been created successfully.The log file has been created successfully.
Write access to /var/lib/glpi_asv/_cache has been validated. Write access to /var/lib/glpi_asv/_cron has been validated. Write access to /var/lib/glpi_asv has been validated. Write access to /var/lib/glpi_asv/_dumps has been validated. Write access to /var/lib/glpi_asv/_graphs has been validated. Write access to /var/lib/glpi_asv/_lock has been validated. Write access to /var/lib/glpi_asv/_pictures has been validated. Write access to /var/lib/glpi_asv/_plugins has been validated. Write access to /var/lib/glpi_asv/_rss has been validated. Write access to /var/lib/glpi_asv/_sessions has been validated. Write access to /var/lib/glpi_asv/_tmp has been validated. Write access to /var/lib/glpi_asv/_uploads has been validated.Write access to /var/lib/glpi_asv/_cache has been validated.
Write access to /var/lib/glpi_asv/_cron has been validated.
Write access to /var/lib/glpi_asv has been validated.
Write access to /var/lib/glpi_asv/_dumps has been validated.
Write access to /var/lib/glpi_asv/_graphs has been validated.
Write access to /var/lib/glpi_asv/_lock has been validated.
Write access to /var/lib/glpi_asv/_pictures has been validated.
Write access to /var/lib/glpi_asv/_plugins has been validated.
Write access to /var/lib/glpi_asv/_rss has been validated.
Write access to /var/lib/glpi_asv/_sessions has been validated.
Write access to /var/lib/glpi_asv/_tmp has been validated.
Write access to /var/lib/glpi_asv/_uploads has been validated.

Web server root directory configuration seems safe.Web server root directory configuration seems safe.
Sessions configuration is secured.Sessions configuration is secured.
OS and PHP are relying on 64 bits integers.OS and PHP are relying on 64 bits integers.
exif extension is installed.exif extension is installed.
ldap extension is installed.ldap extension is installed.
openssl extension is installed.openssl extension is installed.
Following extensions are installed: bz2, Phar, zip.Following extensions are installed: bz2, Phar, zip.
Zend OPcache extension is installed.Zend OPcache extension is installed.
Following extensions are installed: ctype, iconv, mbstring, sodium.Following extensions are installed: ctype, iconv, mbstring, sodium.
The directory could not be created in /var/www/html/glpi_asv/marketplace.The directory could not be created in /var/www/html/glpi_asv/marketplace.
Timezones seems not loaded, see https://glpi-install.readthedocs.io/en/latest/timezones.html.Timezones seems not loaded, see https://glpi-install.readthedocs.io/en/latest/timezones.html.

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant