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

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.4.0
    • Fix Version/s: 13.3.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Pulsar
    • Sprint:
      Platform 211 Eng OKRs

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: