Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-10631

Object Property Utils should consider persistence metadata when getting property type

    Details

    • Type: Bug Fix
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Rice Module:
      KRAD
    • Application Requirement:
      KC
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      When getting the type for a property (and the property value is null), persistence metadata needs checked to get the correct type:

      Check ObjectUtils.getPropertyType()
      [12:33:26 PM] Jonathan Keller: Example - KFS:

      document.accountingLines.baseBudgetAmount

      accountingLines is defined as List<SourceAccountingLine>

      SourceAccountingLine has no property named baseBudgetAmount

      OJB knows that collection really will contain BudgetAdjustmentSourceAccountingLine objects.
      [12:33:55 PM] Jonathan Keller: (not an exact match - but that is what KFS expects)

        Attachments

          Issue Links

            Activity

            Hide
            kbtaylor Kristina Taylor (Inactive) added a comment -

            This may be solved on 2.4. Can you check it and resolve if true?

            Show
            kbtaylor Kristina Taylor (Inactive) added a comment - This may be solved on 2.4. Can you check it and resolve if true?

              People

              • Assignee:
                Unassigned
                Reporter:
                jkneal Jerry Neal (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: