Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    [BUG] Report Manager: mehrere Probleme entdeckt

    Scheduled Pinned Locked Moved Entwicklung
    3 Posts 2 Posters 1.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • _Chekov__ Offline
      _Chekov_
      last edited by

      Hallo zusammen,

      • ich habe eine neue Report für mich zusammen gestellt und heute festgestellt dass wenn ich
        einen PDF, CSV, TXT, oder XML Datei exportieren möchte, scheint "Location Path" völlig Kaputt
        sein, bzw. das Export-Tool spuckt folgendes raus:

        if ($('lb_21_31')) new Tip('lb_21_31', '', {ajax: {url: '/?ajax=1&call=quick_info&objID=31'}, delay: '0', stem: 'topLeft', style: 'default', className: 'objectinfo'}); >

      • Falls ich einen Attribut für meinem Report ausgewählt habe nämlich "Position in the rack (location)" aber die Objekte wurden keinen
        Rackposition besitzen sondern die Objekte sind abgetrennt von deren Rackposition, d.h. die Objekte liegen zuerst gestappelt
        auf Rackboden, bekomme ich einen SQL-Query Fehler.

      Database error : Query error: 'SELECT
      obj_main.isys_obj__id AS '__id__',
      j3.isys_obj_type__title AS 'LC__REPORT__FORM__OBJECT_TYPE###1',
      j6.isys_model_manufacturer__title AS 'LC__CATG__STORAGE_MANUFACTURER###2',
      j9.isys_model_title__title AS 'LC__CMDB__CATG__MODEL###2',
      obj_main.isys_obj__title AS 'LC__UNIVERSAL__TITLE###1',
      obj_main.isys_obj__id AS 'isys_cmdb_dao_category_g_location::dynamic_property_callback_location_path::isys_obj__id::LC__CMDB__CATG__LOCATION_PATH',
      (CASE j4.isys_catg_location_list__pos END) AS 'LC__CMDB__CATG__LOCATION_POS###26',
      obj_main_status.isys_cmdb_status__title AS 'LC__UNIVERSAL__CMDB_STATUS'
      
      FROM isys_obj AS obj_main
      INNER JOIN isys_cmdb_status AS obj_main_status ON obj_main_status.isys_cmdb_status__id = obj_main.isys_obj__isys_cmdb_status__id
      LEFT JOIN isys_cmdb_status AS j10 ON j10.isys_cmdb_status__id = obj_main.isys_obj__isys_cmdb_status__id
      LEFT JOIN isys_obj_type AS j3 ON j3.isys_obj_type__id = obj_main.isys_obj__isys_obj_type__id
      LEFT JOIN isys_catg_location_list AS j4 ON j4.isys_catg_location_list__isys_obj__id = obj_main.isys_obj__id
      LEFT JOIN isys_catg_model_list AS j7 ON j7.isys_catg_model_list__isys_obj__id = obj_main.isys_obj__id
      LEFT JOIN isys_model_manufacturer AS j6 ON j6.isys_model_manufacturer__id = j7.isys_catg_model_list__isys_model_manufacturer__id
      LEFT JOIN isys_model_title AS j9 ON j9.isys_model_title__id = j7.isys_catg_model_list__isys_model_title__id
      LEFT JOIN isys_obj AS j5 ON j4.isys_catg_location_list__parentid = j5.isys_obj__id
      LEFT JOIN isys_cmdb_status AS j14 ON j14.isys_cmdb_status__id = obj_main.isys_obj__isys_cmdb_status__id
      LEFT JOIN isys_catg_location_list AS j12 ON j5.isys_obj__id = j12.isys_catg_location_list__isys_obj__id
      LEFT JOIN isys_obj AS j13 ON j12.isys_catg_location_list__parentid = j13.isys_obj__id
      
      WHERE TRUE
      
      AND ( ( ((j13.isys_obj__id = '21096' )) ) ) AND ( (j14.isys_cmdb_status__id = '11' )) OR ( ( ((j13.isys_obj__id = '21098' )) ) ) AND ( (j14.isys_cmdb_status__id = '11' )) OR ( ( ((j13.isys_obj__id = '21100' )) ) ) AND ( (j14.isys_cmdb_status__id = '11' )) OR ( ( ((j13.isys_obj__id = '21102' )) ) ) AND ( (j14.isys_cmdb_status__id = '11' )) ORDER BY obj_main.isys_obj__id ASC;':
      You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END) AS 'LC__CMDB__CATG__LOCATION_POS###26',
      obj_main_status.isys_cmdb_status_' at line 8
      

      Cheers,

      Chekov

      Chekov is using i-doit v1.6.4 PRO in production & i-doit v1.7 PRO in test

      1 Reply Last reply Reply Quote 0
      • LFischerL Offline
        LFischer
        last edited by

        Hallo Chekov,

        vielen Dank für deine Infos! Zu Punkt 1: Ja, das ist ein bekannter Fehler. Dieser soll in der nächsten Version (i-doit 1.4.8) behoben werden! Den SQL Fehler müssen wir nun erst mal reproduzieren um die Ursache finden zu können, vielen Dank für den Code 🙂

        Viele Grüße
        Leo

        1 Reply Last reply Reply Quote 0
        • _Chekov__ Offline
          _Chekov_
          last edited by

          Hallo Leo,

          nach dem Update auf 1.4.8 PRO existiert das folgende Problem noch mit .txt, .xml, .pdf:

          [Bug] Standortpfad in exportierten Reports (.txt & .csv) enthält Quelltext und ist daher nicht lesbar

          Export funktioniert momentan nur mit .csv sauber.

          Cheers,

          Chekov

          Chekov is using i-doit v1.6.4 PRO in production & i-doit v1.7 PRO in test

          1 Reply Last reply Reply Quote 0
          • First post
            Last post