Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-12499

AFT Failure some Quickfinder lightbox don't return value

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Development, Regression
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-12435Some quickfinder lookups are broken
      KULRICE-12732AFT Failure DemoTravelPerDiemLookUpAft Id values entered before lightbox search missing after return
      KULRICE-12737AFT Failure Modal Dialog Are you sure you want to leave page when returning value from lightbox
      KULRICE-12002Lookup with lightbox disabled opens new window upon returning a value
      KULRICE-11791AFT Failure some pages don't render, Freemarker Incident Report (groupWrap.ftl) in view source
      KULRICE-12249AFT Failure ReferenceAddressTypeAft.testAddressTypeBookmark address type return value no longer present
      KULRICE-12981AFT Failure DemoFieldsDataAft.testDataFieldDefaultValueFinderClass Value returned from org.kuali.rice.krad.demo.uif.library.DemoValuesFinder no longer displayed
      KULRICE-13012AFT Failure LabsLookupSecurityTravelAuthorizationDocument Aft Traveler Quickfinder Incident report Value of nested property is null
      KULRICE-11790AFT Failure DemoTravelAccountAuthorizationAft Traveler Lookup missing return value link
      KULRICE-11285KRAD Library Fields Input Quickfinder return value loads Default tab rather than Quickfinder
    • Sprint:
      2.4.0-rc1 Sprint 8
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required

      Description

      AFT Step: Open /kr-krad/kradsampleapp?viewId=KradSampleAppHome
      AFT Step: Click Quickfinder link.
      AFT Step: Click Quickfinder Icon
      AFT Step: Click Search button
      AFT Step: Click return value link

      Abbreviated test name: DemoFieldsInputAft.testInputFieldExamplesNav
      Full test name: org.kuali.rice.krad.demo.uif.library.fields.DemoFieldsInputAft.testInputFieldExamplesNav
      Test results url: http://ci.rice.kuali.org/job/rice-2.4-test-functional-saucelabs-krad-demo/lastCompletedBuild/testReport/org.kuali.rice.krad.demo.uif.library.fields/DemoFieldsInputAft/testInputFieldExamplesNav/

      Abbreviated test name: DemoFieldsInputAft.testInputFieldExamplesBookmark
      Full test name: org.kuali.rice.krad.demo.uif.library.fields.DemoFieldsInputAft.testInputFieldExamplesBookmark
      Test results url: http://ci.rice.kuali.org/job/rice-2.4-test-functional-saucelabs-krad-library-2/lastCompletedBuild/testReport/org.kuali.rice.krad.demo.uif.library.fields/DemoFieldsInputAft/testInputFieldExamplesBookmark/


      AFT Step: Open /kr-krad/kradsampleapp?viewId=KradSampleAppHome
      AFT Step: Click Travel Authorization Document link.
      AFT Step: Type into document.documentHeader.documentDescription the text: Travel Authorization Description
      AFT Step: Type into document.documentHeader.organizationDocumentNumber the text: 1
      AFT Step: Type into document.documentHeader.explanation the text: This is and explaination for Travel Authorization !'
      AFT Step: Click Search button.
      AFT Step: Click return value link.
      AFT Step: Type into document.cellPhoneNumber the text: 918000884215
      AFT Step: Click Search button.
      AFT Step: Click return value link.
      AFT Step: Select In State from document.travelTypeCode
      AFT Step: Type into document.tripBegin the text: 02/01/2014
      AFT Step: Type into document.tripEnd the text: 02/04/2014
      AFT Step: Traveler Lookup Quickfinder
      AFT Step: Click Search button.
      AFT Step: Click return value link.
      AFT Step: Click Primary Destination Id Quickfinder
      AFT Step: Click Search button.
      AFT Step: Click return value link.

      Abbreviated test name: DemoTravelAccountAuthorizationAft.testTravelAccountAuthorizationSubmitNav
      Full test name: org.kuali.rice.krad.demo.travel.application.DemoTravelAccountAuthorizationAft.testTravelAccountAuthorizationSubmitNav
      Test results url: http://ci.rice.kuali.org/job/rice-2.4-test-functional-saucelabs-krad-demo/lastCompletedBuild/testReport/org.kuali.rice.krad.demo.travel.application/DemoTravelAccountAuthorizationAft/testTravelAccountAuthorizationSubmitNav/

        Issue Links

          Activity

          Hide
          Claus Niesen added a comment -

          Lookups in the krad-sampleapp don't return the values from the lookup. In rice-sampleapp the lookups work fine. This can be even seen on lookups that exist in both apps. A simple page reload does after the lookup does populate the returned value.

          Show
          Claus Niesen added a comment - Lookups in the krad-sampleapp don't return the values from the lookup. In rice-sampleapp the lookups work fine. This can be even seen on lookups that exist in both apps. A simple page reload does after the lookup does populate the returned value.
          Hide
          Claus Niesen added a comment -

          Martin pointed me into the right direction. In krad.lookup.js the method returnLookupResultReload does a window.open() command to reload the page but since it also closes the lightbox some newer browser stop the http request and the page never loads.

          Reference: http://stackoverflow.com/a/13459106

          Show
          Claus Niesen added a comment - Martin pointed me into the right direction. In krad.lookup.js the method returnLookupResultReload does a window.open() command to reload the page but since it also closes the lightbox some newer browser stop the http request and the page never loads. Reference: http://stackoverflow.com/a/13459106
          Hide
          Claus Niesen added a comment -

          Fixed quickfinder return value:

          • Browsers cancelling http request when source calling DOM gets removed (lightbox iframe closed). JS fix.
          • Binding path adjustment logic removed fieldConversions entry if binding path was blank (field is directly on form).
          Show
          Claus Niesen added a comment - Fixed quickfinder return value: Browsers cancelling http request when source calling DOM gets removed (lightbox iframe closed). JS fix. Binding path adjustment logic removed fieldConversions entry if binding path was blank (field is directly on form).

            People

            • Assignee:
              Claus Niesen
              Reporter:
              Erik Meade
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile

                  Structure Helper Panel