Screen import fails with <node> sub-element present in <resourceid> element.

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: 1.8.8
    • Component/s: Frontend (F)
    • Environment:
      RHEL5

      In a multi-node installation the sub-element <node> is added to the <resourceid> element of a screen export.

      Eg.

      <screens>
      <screen>
      <screenitems>
      <screenitem>
      <resourcetype>1</resourcetype>
      <resourceid>
      <node>Prod Hosts</node>
      <host>server1.mydomain.com</host>
      <key_>squid.request_hit_ratio</key_>
      </resourceid>
      <width>350</width>
      <height>100</height>
      <x>1</x>
      <y>0</y>
      <colspan>0</colspan>
      <rowspan>0</rowspan>
      <elements>0</elements>
      <valign>0</valign>
      <halign>0</halign>
      <style>0</style>
      <dynamic>0</dynamic>
      </screenitem>
      </screenitems>
      <name>PROD squid hits</name>
      <hsize>1</hsize>
      <vsize>1</vsize>
      </screen>
      </screens>

      Subsequently attempting to import the screen fails with:

      XML file contains errors. Error 28: Datatype element resourceid has child elements [ Line: 7 | Column: 0 ]

            Assignee:
            Unassigned
            Reporter:
            Sean Spalding
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: