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

Review model aware data holder's getValue methods behavior if the path is wrong

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      4.2 M9

      Description

      Chosen behavior:

      1. Model Aware data holders
        • Throws an UndefinedItemPathException if the given path is not defined by the model
        • Throws a BadItemTypeException if the type of the defined item doesn't match the type of the data stored in the repository
        • return null if there is no data stored for this item
      2. Model Less data holders
        • Throws a BadItemTypeException if the given type doesn't match the type of the data stored in the repository
        • return null if there is no data stored for this item

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raphael Raphaƫl Franchet
                Reporter:
                cbayle Caroline Bayle
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: