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

Old attachments in Maintenance Documents not showing except on a document reload

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.3.2
    • Fix Version/s: 1.0.3.2, 2.0
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-14134Exception adding attachment in maintenance document
      KULRICE-5106Maintenance Document does not display attached file
      KULRICE-10432Allow Action Buttons to determine whether they show on the Old or New sides of a Maintenance document
      KULRICE-5130Sample Maintenance Document for testing attachments
      KULRICE-5555after saving a maintenance doc, hitting the 'reload' button throws an exception
      KULRICE-2880Header on maintenance and transactional documents only shows the initiator
      KULRICE-4235Show Inactive link blows up on maintenance documents (methodToCall violation)
      KULRICE-10344Maintenance Document Copy - missing left side with old values
      KULRICE-13255KNS Maintenance Documents display Save button after a document submitted.
      KULRICE-6890make the note/attachment framework available for maintenance documents
    • Rice Module:
      KNS
    • Application Requirement:
      KC
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      We are noticing that in any maintenance document in KC that previously has had an attachment added to it, this fact is not displayed initially on edit and requires a reload of the page to display it properly. The "replace" link also is failing, since it throws the error

      java.lang.RuntimeException: Cannot verify that the methodToCall should be replaceAttachment
              at org.kuali.rice.kns.util.WebUtils.parseMethodToCall(WebUtils.java:104)
              at org.kuali.rice.kns.web.struts.form.KualiForm.populate(KualiForm.java:110)
              at org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase.populate(KualiDocumentFormBase.java:173)
              at org.kuali.rice.kns.web.struts.form.KualiMaintenanceForm.populate(KualiMaintenanceForm.java:178)
              at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processPopulate(KualiRequestProcessor.java:302)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203)
              at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:101)
              at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
              at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
      

        Issue Links

          Activity

          Hide
          Jessica Coltrin (Inactive) added a comment -

          In the latest round of prioritization, KC indicated this would be next on their list, so increasing priority.

          Show
          Jessica Coltrin (Inactive) added a comment - In the latest round of prioritization, KC indicated this would be next on their list, so increasing priority.
          Hide
          Shannon Hess added a comment -

          Kristina,

          Can you please verify that this is still a problem? Changes were committed for KULRICE-4896 on May 16th, and I think the fix for that may have fixed this issue. I used the attachment test document provided in KULRICE-5106 to test in the 1.0.3.2 branch, and I tested the 2.0 branch using the Sponsor Form Template form in http://test.kc.kuali.org/kc-trunk/portal.do?selectedTab=administration . In both cases, the attachment was there when I initially hit the edit button and the replace button is working as I would expect.

          If you are still seeing the problem, could you give me some insight on how to reproduce the issue?

          Thanks,
          Shannon

          Show
          Shannon Hess added a comment - Kristina, Can you please verify that this is still a problem? Changes were committed for KULRICE-4896 on May 16th, and I think the fix for that may have fixed this issue. I used the attachment test document provided in KULRICE-5106 to test in the 1.0.3.2 branch, and I tested the 2.0 branch using the Sponsor Form Template form in http://test.kc.kuali.org/kc-trunk/portal.do?selectedTab=administration . In both cases, the attachment was there when I initially hit the edit button and the replace button is working as I would expect. If you are still seeing the problem, could you give me some insight on how to reproduce the issue? Thanks, Shannon
          Hide
          Kristina Taylor (Inactive) added a comment -

          It appears that KULRICE-5106 has fixed this issue. Thanks!

          Show
          Kristina Taylor (Inactive) added a comment - It appears that KULRICE-5106 has fixed this issue. Thanks!
          Hide
          Shannon Hess added a comment -

          Great! I'll go ahead and close this then.

          Thanks,
          Shannon

          Show
          Shannon Hess added a comment - Great! I'll go ahead and close this then. Thanks, Shannon
          Hide
          Shannon Hess added a comment -

          Fixed by changes made in KULRICE-4896

          Show
          Shannon Hess added a comment - Fixed by changes made in KULRICE-4896

            People

            • Assignee:
              Shannon Hess
              Reporter:
              Kristina Taylor (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Structure Helper Panel