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

Combobox / Comboitem looses index after Serialization/Deserialization

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 7.0.5
    • Clustering, Components
    • None

      Hi,

      it seems there is a Serialization issue with Combobox / Comboitem:

      After Serialization/Deserialization all Comboitems seem to have index 0. In https://github.com/zkoss/zk/blob/master/zul/src/org/zkoss/zul/Comboitem.java#L42 index is defnied as transient, so it's value gets lost during serialization. But i can't find anything in Comboitem or Combobox that reinitilizes the indexes of the comboitems again after deserialization.

      Thanks,
      Chris

            Unassigned Unassigned
            christian christian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: