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

Check more for lang-addon.xml when there is <extends> without <depends>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.5.2
    • 8.5.0
    • None
    • Security Level: Jimmy
    • None

      In lang-addon.xml, when a custom component extends another component e.g. decimalbox, especially for inheriting ZK original data binding setting in zkbind.jar/lang-addon.xml, <depends> is usually required.

      If missing, it will produce data binding failure because of different class loading order in different platform, e.g. zkbind.jar is loaded after the custom component, then built-in data binding setting inherited from ZK component (decimalbox) is not applied to the custom component.
      And it's hard to identify this failure caused by class loading because the problem will not always happen.

      If we can improve the checking for this case, it will avoid such problem in the future.

      For example, show a warning like a component in <lang-addon> that extends another component but no <depends> specified

            klyvechen klyvechen
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 days
                4d
                Remaining:
                Remaining Estimate - 4 days
                4d
                Logged:
                Time Spent - Not Specified
                Not Specified