Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4331

ContentType property definition and actual property format do not match

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 5.4.0
    • 13.3.0
    • None
    • None

    Description

      When a document type field is defined as multiple but a document from this document type stores a single value on that field (or the vice versa), this causes a ClassCastException on runtime.

      To solve this problem, 2 new methods should be created in HippoItem to get single and multiple value elements for the standard types (String, Text, Password, Long, Integer, Boolean, Calendar, Html, HippoHtml).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sshepelevich Sergey Shepelevich
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: