Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-5646

make warning message more helpful

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 10.0.0
    • 10.0.0
    • None

      Steps to Reproduce

      1. scan the attached files with zk linter 10.0.0.FL.20240205

      Current Result

      INFO: /Users/hawk/Documents/workspace/zkdemo/src/main/webapp/source/demo/grid/data_filter/FilterViewModel.java
      WARNING: 23: 43 Getter should be pure
      WARNING: 27: 31 Getter should be pure

      a warning message is not clear and don't know how to fix it

      INFO: /Users/hawk/Documents/workspace/zkdemo/src/main/webapp/widgets/layout/css_grid/css_grid.zul
      WARNING: 11: 16 Zul files supplied via path binding not checked

      Expected Result

      The warning should contain:

      1. explain the reasons
      2. suggest a fix
      3. an example

      For example, The attribute, heights, in <hbox> is no longer supported since ZK 10. As of release 5.0.0, put <cell height> inside instead.

        1. css_grid.zul
          0.8 kB
          hawk
        2. FilterViewModel.java
          0.9 kB
          hawk

            rebeccalai rebeccalai
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: