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 Bug Fix
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-8179Rice KEW considers Maps as 'simple' properties and serializes them and persists them in the database.
      KULRICE-5377Develop utility class that will apply formatting using the spring property editors
      KULRICE-9582Update annotation metadata to be able to specify data objects which are not JPA-backed
      KULRICE-8711Default value property of DataField should have type of Object
      KULRICE-6845Problems with UifBeanFactoryPostProcessor expression handling that is causing bean property overrides (such as fieldInquiry.render) to not work
      KULRICE-11181Custom Inquirables not considered in nested inquiries
      KULRICE-9637Add tests and update code to allow metadata extraction from subclasses of other data objects
      KULRICE-10072useAjaxCallForContent property not working correctly
      KULRICE-12801Having issues while using property "renderAddBlankLineButton" with version Rice version 2.3.2
      KULRICE-8467JS error in IE8 " Object doesn't support this property or method "
    • 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)

        Issue Links

          Activity

          Hide
          Kristina Taylor (Inactive) added a comment -

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

          Show
          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:
              Jerry Neal (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Structure Helper Panel