Community

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

    Druckansicht in i-doit v1.1 ?

    Allgemein
    4
    6
    1911
    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.
    • H
      hskaiz last edited by

      Guten Morgen zusammen,

      nach dem Upgrade auf v1.1pro funktionieren bei uns die Druckansichten nicht mehr
      (unabhängig von den Rechtenstrukturen). Im Log taucht bei uns Folgendes auf:

      [2013-07-03 08:52:09] ERROR:  Exception Trace:

      • File: /idoit/index.php (line: 152)
          require_once
      • File: /idoit/src/ajax.inc.php (line: 135)
          include_once
      • File: /idoit/src/hypergate.inc.php (line: 421)
          include_once
      • File: /idoit/src/i-doit.inc.php (line: 150)
          isys_module_manager->load
      • File: /idoit/src/classes/modules/manager/isys_module_manager.class.php (line: 593)
          isys_module_export->start
      • File: /idoit/src/classes/modules/export/isys_module_export.class.php (line: 819)
          isys_module_export->show_cmdb_view
      • File: /idoit/src/classes/modules/export/isys_module_export.class.php (line: 1057)
          isys_cmdb_dao_nexgen->get_objects_by_type_id
      • File: /idoit/src/classes/cmdb/dao/isys_cmdb_dao_nexgen.class.php (line: 469)
          isys_component_dao->retrieve
      • File: /idoit/src/classes/components/isys_component_dao.class.php (line: 323)
          isys_component_database_mysql->query
      • File: /idoit/src/classes/components/isys_component_database_mysql.class.php (line: 153)
          Message: "Database error : Query error: 'SELECT isys_obj.*, isys_obj_type__title, isys_obj_type__isys_obj_type_group__id FROM isys_obj INNER JOIN isys_obj_type ON isys_obj__isys_obj_type__id = isys_obj_type__id WHERE TRUE AND isys_obj__isys_obj_type__id = 26 AND isys_obj__status = 2 AND isys_obj__id IN ()  ORDER BY isys_obj__title LIMIT 250':
        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 ')  ORDER BY isys_obj__title LIMIT 250' at line 1
        "

      Hat Jemand die gleichen Probleme?

      Viele Grüsse,
      Günther

      1 Reply Last reply Reply Quote 0
      • A
        alex123 last edited by

        Bei mir öffnet sich nur ein leeres Popup-Fenster.
        v1.1

        die Fehlermeldung im Logfile ist die gleiche.

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

          Hallo zusammen,

          in der Version 1.1 haben wir die Druckfunktion an einigen (vielen) Stellen deaktiviert, wir möchten das System dahinter gerne in den kommenden Versionen etwas stabiler gestalten und refakturieren. Die Funktion wird definitiv zurück kommen!

          Viele Grüße
          Leo

          1 Reply Last reply Reply Quote 0
          • H
            hskaiz last edited by

            Guten Morgen zusammen,

            das Problem besteht weiterhin bei v1.1.1

            Viele Grüsse,
            Günther

            1 Reply Last reply Reply Quote 0
            • H
              hskaiz last edited by

              Hallo zusammen,

              bis der offizielle Patch kommt, kann folgender Workaround helfen…

              *** /idoit/src/classes/cmdb/dao/isys_cmdb_dao_nexgen.class.php.fcs      2013-07-16 10:57:38.000000000 +0200
              –- /idoit/src/classes/cmdb/dao/isys_cmdb_dao_nexgen.class.php  2013-08-12 12:48:39.835823001 +0200


              *** 466,471 ****
              --- 466,472 ----
                            $l_query .= ' LIMIT ' . implode(', ', $l_limit);
                        } // if

              • $l_query = str_replace('AND isys_obj__id IN ()', '', $l_query); # quick-and-dirty-HACK
                                return $this->retrieve($l_query);
                        } // function

              So hat man wenigstens wieder Zugriff auf die Druckfunktion.

              Viele Grüsse,
              Günther

              1 Reply Last reply Reply Quote 0
              • V
                vqh last edited by

                Hallo zusammen,

                nach dem Log zu urteilen wurde bei der Druckansicht kein Objekt ausgewählt. Anscheinend wird es nicht abgefangen wenn man in der Objekteliste die Druckansicht triggert ohne ein Objekt auszuwählen.
                Beim nächsten Minor Release wird es gefixt sein.

                Viele Grüße,
                Quyen

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