Menu

Erreur portal

2024-11-05
2025-04-09
  • Lainé Mael

    Lainé Mael - 2024-11-05

    Hello,
    I just installed TeemIP standalone, and when I try to create an IPv4 from the portal, I get the following error:

    2024-11-05 08:13:56 | Error | 2 | Erreur: L'objet n'a pas été créé. Vérifiez les objets liés et les attachements avant de soumettre à nouveau le formulaire. | Symfony\Component\HttpKernel\Exception\HttpException |||
    array (
    'exception class' => 'Symfony\Component\HttpKernel\Exception\HttpException',
    'file' => '/var/www/html/teemip-test/env-production/itop-portal-base/portal/src/Helper/ObjectFormHandlerHelper.php',
    'line' => 337,
    'uri' => 'https://test-domain.fr/teemip-test/pages/exec.php/object/create/IPRequestAddressCreateV4?exec_module=itop-portal-base&exec_page=index.php&portal_id=teemip-portal',
    )

    TeemIP version 3.2.0-2408

    thank you

     
  • Xtophe38

    Xtophe38 - 2024-11-05

    Hi,

    Does your user have the correct profile i.e. at least the IP Portal user one ?

     
  • Lainé Mael

    Lainé Mael - 2024-11-13

    Hello,
    I just did a new installation and I'm getting the same error.

    During the installation, in the Sample Data section, I selected I am installing a demo or test instance, populate the database with some demo data.

    I selected Helpdesk -> Enhanced Customer Portal

    2024-11-13 14:38:58 | Warning | 1 | Module itop-object-copy - invalid rule #child_userrequest - dest_class "UserRequest" is not a valid class | IssueLog |||
    2024-11-13 14:38:58 | Warning | 1 | Module itop-object-copy - invalid rule #userrequest_from_person - dest_class "UserRequest" is not a valid class | IssueLog |||
    2024-11-13 14:38:58 | Warning | 1 | Module itop-object-copy - invalid rule #userrequest_from_ci - dest_class "UserRequest" is not a valid class | IssueLog |||
    2024-11-13 14:38:58 | Warning | 1 | Module itop-object-copy - invalid rule #userrequest_from_log - dest_class "UserRequest" is not a valid class | IssueLog |||
    2024-11-13 14:38:58 | Warning | 1 | Module itop-object-copy - invalid rule #MailInboxStandardToMailInboxOAuth - dest_class "MailInboxOAuth" is not a valid class | IssueLog |||
    2024-11-13 14:39:55 | Error | 2 | Event 'EVENT_DB_BEFORE_WRITE' for 'OnBeforeWriteTicket'} failed with non-blocking error: Unknown attribute functionalcis_list from class IPRequestAddressCreateV4 | EventService |||
    2024-11-13 14:39:55 | Error | 2 | Event 'EVENT_DB_BEFORE_WRITE' for 'OnBeforeWriteTicket'} failed with non-blocking error: Unknown attribute functionalcis_list from class IPRequestAddressCreateV4 | Exception |||
    array (
    'exception class' => 'Exception',
    'file' => '/var/www/html/teemip1/core/dbobject.class.php',
    'line' => 6597,
    'origin' => 'Combodo\iTop\Portal\Form\ObjectFormManager::Combodo\iTop\Portal\Form\ObjectFormManager::OnSubmit',
    'obj_class' => 'IPRequestAddressCreateV4',
    'obj_key' => -1,
    )
    2024-11-13 14:39:55 | Error | 2 | Error: object cannot be created. Check associated objects and attachments before submitting again this form. | Symfony\Component\HttpKernel\Exception\HttpException |||
    array (
    'exception class' => 'Symfony\Component\HttpKernel\Exception\HttpException',
    'file' => '/var/www/html/teemip1/env-production/itop-portal-base/portal/src/Helper/ObjectFormHandlerHelper.php',
    'line' => 337,
    'uri' => 'https://my-domain/teemip1/pages/exec.php/object/create/IPRequestAddressCreateV4?exec_module=itop-portal-base&exec_page=index.php&portal_id=teemip-portal',
    )

    Thank you

     

    Last edit: Lainé Mael 2024-11-13
  • Xtophe38

    Xtophe38 - 2024-11-13

    Hi,

    For the warnings related to the UserRequests or MailInboxOAuth, remove the entries that are related to these 2 classes from the configuration file.

    For the functionalcis_list, it looks like that I forgot to include in TeemIp's build the itop-bridge-cmdb-ticket module !! I need to further investigate but I guess that PHP 8.1 and below versions were more "easy going" with that issue. Whatever, I'll add it in the next revision that should be released with iTop 3.2.1 within a month or so.

     
  • Xtophe38

    Xtophe38 - 2024-11-14

    Actually, this issue had already been reported here on GitHub. Forgive my poor memory !

     
  • Xtophe38

    Xtophe38 - 2024-12-19

    Hi,

    FYI, this issue has been corrected in revision 3.2.1 that has been issued earlier this month.

     
  • Cmbd14

    Cmbd14 - 2025-03-05

    Hello, I have the same error with version 3.2.1 that I recently installed.
    I've deleted both 'UserRequest' and 'MailInboxOAuth' as requested but I still can't create a new IP address. I get the following error: “The object cannot be registered. IP responds to ping”.
    Can you help me?

     
  • Xtophe38

    Xtophe38 - 2025-04-09

    Hello,

    First comment: you won't be able to get an IP from the profile with a user whose profile is 'IP Portal user' only. With such profile, the IP request needs to be processed from the console by a Hostmaster who will actually assign the IP. Therefore, I don't understand how you can get this message from the portal.

    Second comment: there is a configuration parameters that denies you the possibility to assign an Ip that pings. But the error message is not the same. You'd get an "IP pings!" in EN or "L'IP répond au ping !" in FR... Nevertheless, have you disabled the "Ping IP before assigning it" IPConfig parameter ?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.