Uploaded image for project: 'ZK Charts'
  1. ZK Charts
  2. ZKCHARTS-64

inconsistent naming between module and js package name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.0.1
    • 3.0.0
    • Security Level: Jimmy
    • None

      Steps to reproduce

      load a zul with a charts component with the same zk version but different zkcharts versions
      e.g. 3.0.0 / 3.0.1-FL

      Actual

      the chart.wpd is downloaded with the following URL in both cases
      http://localhost:8080/test/zkau/web/_zv2017103111/js/chart.wpd
      this can lead to an older version being loaded from the browser cache, missing the bugfixes and highcharts version upgrades until the cache expires or is hard reloaded CTRL-F5

      Expected

      different URLs for different versions (avoiding browser caching)
      http://localhost:8080/test/zkau/web/_zv3.0.0/js/chart.wpd
      http://localhost:8080/test/zkau/web/_zv3.0.1/js/chart.wpd

      Root Cause

      inconsistent package/module naming leads to fallback and using the ZK version timestamp instead which is the same for both since the ZK version didn't change

            rudyhuang rudyhuang
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h