Uploaded image for project: 'Repository'
  1. Repository
  2. REPOSITORY-442

The method getValue return the default value when the path is not part of the model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.10, 4.3.0
    • 4.2.9, 4.3.0
    • None
    • None
    • 4.3 M7

      The attribute portesOuvertes doesn't belong to the content model, but in the code below, it return an empty array instead of an UndefinedItemPathException :

      content.<ContentValue[]>getValue("portesOuvertes", false, new ContentValue[0])
      

            cbayle Caroline Bayle
            lbouchet Loïc Bouchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: