Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-1056

Component export evaluates only numeric parameters

Add voteWatch issue


    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Slider 0.80
    • Fix Version/s: None
    • Component/s: core
    • Labels:


      Slider 0.80 on secured cluster. Each component exports its host/port and some other info

      I am looking @ exported values at http://host:1025/ws/v1/slider/publisher/slider/componentinstancedata

      1 - Just export host/port - This works


      2 - Export host/port and ** APPEND some constant - This works


      3 - Try host/port/other info derived from param. In this case, ${site.global.abc.http_port} gets evaluated correctly in export but ${site.global.abc.some_other_info} appears as is - that is it does not gets evaluated in export. NOTE that ${site.global.abc.some_other_info} evaluates to a non-numeric value


      Digging further into this, it appears that only the variables that expand to a number are allowed - I can add another port to it and that export works


      It should be possible to evaluate non-numeric dynamic parameters during export. These could be small & critical bits of info that does not violates the principle of limiting size of ZK info - so not allowing non-numeric values just to limit ZK data does not makes sense.

      If slider wants to enforce ZK data size limit, it should evaluate the variables and error out if result is more that certain (documented) size limit.




            • Assignee:
              manojsamel Manoj Samel


              • Created:

                Issue deployment