Graph prototype process create only the lastest value sent by the Json object

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Minor
    • None
    • Affects Version/s: 3.2.6
    • Component/s: Server (S)
    • None
    • Environment:
      Centos 7.2
      apache 2.4

      When returning a json with several key / values, the graph prototype process create only the lastest pair :

      Example :

      {
              "data":[
      
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"ismp_br_v5"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"ismp_sd"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"ismp2"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"ismp_sd_arch"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"ismp_cas"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"ismp_br"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"monitoring_management"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"mentoring"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM102",
                      "{#DB}":"acacia_webapp"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM102",
                      "{#DB}":"horus_report"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM102",
                      "{#DB}":"ismp_am_gu"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM102",
                      "{#DB}":"ismp_as_gu"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"resource_management"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"infocenter"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"ismp_mm_light"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"ismp_sd_light"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"ismp_am_light"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"ismp_cm_light"
              }
      
              ]
      }
      

      On this example, only 3 graph are created :

      - "{#INSTANCE}":"MYDITM101",
         * "{#DB}":"mentoring"
      -         {
                      "{#INSTANCE}":"MYDITM102",
               }
      -        {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"ismp_cm_light"
              }
      

      On the other time, all items are correctly created and return values see attach docs

        1. Capture.PNG
          Capture.PNG
          58 kB
        2. Graph.PNG
          Graph.PNG
          12 kB
        3. Graph2.PNG
          Graph2.PNG
          17 kB
        4. items.PNG
          items.PNG
          11 kB

            Assignee:
            Unassigned
            Reporter:
            CHRETIEN Landry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: