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

direct inquiry link fails when identifier has a dot expression

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.3
    • Fix Version/s: Not version specific
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-1579Direct inquiry links do not work on maintenance documents
      KULRICE-7325Direct Inquiries are failing with EBO error
      KULRICE-7958Route Log "For Delegator" inquiry link broken with group delegations
      KULRICE-2455Direct Inquiry for lookup field other than BO PK results in server error
      KULRICE-9286KualiInquirableTest fails in CI with An inquiry URL to AccountManager should be built
      KULRICE-4025Direct inquiry does not work properly in some conditions
      KULRICE-8742When summary title has an expression the title does not render
      KULRICE-6911Child objects not accessible via dot notation in DD
      KULRICE-2270issues with direct inquiries
      KULRICE-3426in Responsibility lookup, none of the field direct inquiry image links work
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      At Kuali Student, we have a post-2.3.0 rice upgrade failure upon clicking a direct
      inquiry link. Working link (pre-2.3.0 rice upgrade - click on the direct inqruiy
      book image):

      http://env8.ks.kuali.org/portal.do?channelTitle=Lookup%20-%20Quick%20View&channelUrl=http://env8.ks.kuali.org/kr-krad/kitchensink?viewId=KS-KitchenSink-LookupQuickView-View&methodToCall=start

      screenshot:

      The value of the id (Identifier) is kuali.atp.1997Fall. The dot expression seems to be significant.

      When viewing the same link on a post-2.3.0 KS app, we get the following
      exception:

      freemarker.runtime - Template processing error: "Expected hash. \"                            kual\" evaluated instead to
       freemarker.template.SimpleScalar on line 0, column 0 in input."
      

      full stack trace:
      http://pastebin.com/ZvmkKDPM

      I debugged the failure to inquiry.ftl (which is called via a #dyncall).

      Basically before the DynamicCall, the body has value:

                                  kuali.atp.1997Fall
      
      

      During the DynamicCall, the body becomes:

      "                            kual".atp.1997Fall
      
      '

      That's how we got to the freemarker exception.

      Does rice have any examples of direct inquiry links where the id has a "dot expression"?

      Thanks in advance.

        Activity

        Hide
        Haroon Rafique (Inactive) added a comment -

        Locally I upgraded KS to rice 2.3.2 (from 2.3.0) and cannot recreate this problem any more. So, presumably it was fixed in 2.3.1 or 2.3.2.

        Show
        Haroon Rafique (Inactive) added a comment - Locally I upgraded KS to rice 2.3.2 (from 2.3.0) and cannot recreate this problem any more. So, presumably it was fixed in 2.3.1 or 2.3.2.
        Hide
        Kristina Taylor (Inactive) added a comment -

        Can you please close if this is no longer a problem?

        Show
        Kristina Taylor (Inactive) added a comment - Can you please close if this is no longer a problem?
        Hide
        Haroon Rafique (Inactive) added a comment -

        Kristina Taylor added a comment - 3 minutes ago

        Can you please close if this is no longer a problem?

        Would, if I could.

        Show
        Haroon Rafique (Inactive) added a comment - Kristina Taylor added a comment - 3 minutes ago Can you please close if this is no longer a problem? Would, if I could.
        Hide
        Kristina Taylor (Inactive) added a comment -

        Strange, you as the reporter should be able to resolve. I can do it for you. Thanks!

        Show
        Kristina Taylor (Inactive) added a comment - Strange, you as the reporter should be able to resolve. I can do it for you. Thanks!

          People

          • Assignee:
            Unassigned
            Reporter:
            Haroon Rafique (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel