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

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.0
    • 4.2.0
    • None
    • None
    • 4.2 M9

      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

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

              Created:
              Updated:
              Resolved: