Menu

#1074 Urgency dropdown in portal generates debug trace

2.2.0
closed
User Interface
Medium
2.1.0
defect
2015-08-31
2015-03-07
No

Hello,

FYI. Choosing an Urgency when creating an user request in the portal gives the following debug trace:

"No result for the single row query: 'SELECT DISTINCT Service_service.id AS Serviceid, Service_service.name AS Servicename, Service_service.org_id AS Serviceorg_id, Organization_org_id_organization.name AS Serviceorganization_name, Service_service.servicefamily_id AS Serviceservicefamily_id, ServiceFamily_servicefamily_id_servicefamilly.name AS Serviceservicefamily_name, Service_service.description AS Servicedescription, Service_service.status AS Servicestatus, CAST(CONCAT(COALESCE(Service_service.name, '')) AS CHAR) AS Servicefriendlyname, CAST(CONCAT(COALESCE(Organization_org_id_organization.name, '')) AS CHAR) AS Serviceorg_id_friendlyname, CAST(CONCAT(COALESCE(ServiceFamily_servicefamily_id_servicefamilly.name, '')) AS CHAR) AS Serviceservicefamily_id_friendlyname FROM service AS Service_serviceINNER JOIN (organization AS Organization_org_id_organization ) ON Service_service.org_id = Organization_org_id_organization.idLEFT JOIN (servicefamilly AS ServiceFamily_servicefamily_id_servicefamilly ) ON Service_service.servicefamily_id = ServiceFamily_servicefamily_id_servicefamilly.id WHERE ((Service_service.id = '1') AND (Service_service.org_id IN ('2'))) '
Debug trace:

0 /home/vagrant/aranya-itop/core/metamodel.class.php(5088): MetaModel::MakeSingleRow('Service', '1', true, false, NULL)
1 /home/vagrant/aranya-itop/application/wizardhelper.class.inc.php(116): MetaModel::GetObject('Service', '1')
2 /home/vagrant/aranya-itop/pages/ajax.render.php(560): WizardHelper->GetTargetObject()
3 {main}"

Best regards,
Simon

1 Attachments

Discussion

  • Denis

    Denis - 2015-04-02
    • Milestone: Unassigned --> 2.2.0
     
  • Denis

    Denis - 2015-04-02

    To be investigated...

     
  • Stephen

    Stephen - 2015-04-07

    Hello,

    I have exactly the same issue. Meanwhile, is it possible to disable this debug trace for our customers ?

    Best regards,

    Stephen

     

    Last edit: Stephen 2015-04-07
  • maxhq

    maxhq - 2015-04-28

    As a workaround, the attached file will disable any error output in the user portal.
    Copy it anywhere and then execute:

    patch -p0 --backup -V simple --forward --directory /var/www/itop --reject-file=- < pages_ajax.render.php.patch
    
     
  • seemax1991

    seemax1991 - 2015-05-05

    Exact same issue here.
    Gonna try max's workaround.
    EDIT: Workaround works!

     

    Last edit: seemax1991 2015-05-05
  • Romain Quetiez

    Romain Quetiez - 2015-08-31
    • status: new --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB