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

AFT Failure some Quickfinder lightbox don't return value

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: 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
    • 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/

        Attachments

          Issue Links

            Activity

            Hide
            cniesen 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
            cniesen 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
            cniesen 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
            cniesen 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
            cniesen 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
            cniesen 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:
                cniesen Claus Niesen
                Reporter:
                eghm-kuali-m Erik Meade
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: