Uploaded image for project: 'KFS Archive'
  1. KFS Archive
  2. KFSOLD-22637

REQS is broken - after any action is taken the document is coming back read only.

    Details

    • Type: Code Cleanup
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.x
    • Labels:
      None
    • Sub-Committee:
      PUR / VND
    • Impacted Modules:
      Purchasing / Accounts Payable

      Description

      Create a Requisition
      Entere a Description
      Click Save
      Document returned read only.

      Create a requisition
      Add a line
      Document returned read only

      Create a requisition
      Look up a value
      Document returned read only.

        Attachments

          Issue Links

            Activity

            kymber Kymber Horn created issue -
            Hide
            bhutchinson Bryan Hutchinson added a comment -

            It looks like this is related to KULRICE-9148 which disabled the SessionDocumentService. Not sure why yet though or if it's a bug on the Rice side or KFS side.

            Show
            bhutchinson Bryan Hutchinson added a comment - It looks like this is related to KULRICE-9148 which disabled the SessionDocumentService. Not sure why yet though or if it's a bug on the Rice side or KFS side.
            bhutchinson Bryan Hutchinson made changes -
            Field Original Value New Value
            Link This issue is related to KULRICE-9148 [ KULRICE-9148 ]
            jgottden Jay Gottdenker made changes -
            Status Awaiting Prioritization [ 10018 ] Open [ 1 ]
            bhutchinson Bryan Hutchinson made changes -
            Assignee Bryan Hutchinson [ bhutchinson ]
            Hide
            bhutchinson Bryan Hutchinson added a comment -

            The check to see if the REQS doc was editable was based on app doc status. When the document was initiated, the app doc status wasn't saved (it didn't used to be necessary to save the route header when the doc was initiated), so the app doc status wasn't available to check and the code determined the REQS doc shouldn't be editable. When the SessionDocumentService was enabled, this problem was masked because the doc, including the app doc status, was saved in the session.

            To fix this, I modified the code (in FinancialSystemDocumentHeader.updateAndSaveAppDocStatus()) to save the routing data even when the doc is in initiated status. That way the app doc status is persisted, and is subsequently available to the canEdit check.

            Show
            bhutchinson Bryan Hutchinson added a comment - The check to see if the REQS doc was editable was based on app doc status. When the document was initiated, the app doc status wasn't saved (it didn't used to be necessary to save the route header when the doc was initiated), so the app doc status wasn't available to check and the code determined the REQS doc shouldn't be editable. When the SessionDocumentService was enabled, this problem was masked because the doc, including the app doc status, was saved in the session. To fix this, I modified the code (in FinancialSystemDocumentHeader.updateAndSaveAppDocStatus()) to save the routing data even when the doc is in initiated status. That way the app doc status is persisted, and is subsequently available to the canEdit check.
            bhutchinson Bryan Hutchinson made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hide
            bhutchinson Bryan Hutchinson added a comment -

            I've committed a fix for this. It will be available to test in INT after tomorrow morning's rebuild.

            Show
            bhutchinson Bryan Hutchinson added a comment - I've committed a fix for this. It will be available to test in INT after tomorrow morning's rebuild.
            bhutchinson Bryan Hutchinson made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            kymber Kymber Horn made changes -
            Fix Version/s 5.0.2 [ 16600 ]
            Fix Version/s 5.0.x [ 16774 ]
            kymber Kymber Horn made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            abyrne Ailish Byrne made changes -
            Workflow KFSMI [ 196914 ] Copy of KFSMI [ 282262 ]
            abyrne Ailish Byrne made changes -
            Workflow Copy of KFSMI [ 282262 ] KFSMI [ 292758 ]
            abyrne Ailish Byrne made changes -
            Project KFS Request [ 10300 ] KFS Archive [ 11293 ]
            Key KFSMI-10551 KFSOLD-22637
            Workflow KFSMI [ 292758 ] KFSOLD [ 329883 ]
            Reporter Kymber Horn [ khorn ] Ailish Byrne [ abyrne ]
            Component/s >=3.x [ 14406 ]
            Fix Version/s 5.0.x [ 17572 ]
            Fix Version/s 5.0.2 [ 16600 ]
            Replicated in Prior Version(s)? No - Old Functionality / New Bug [ 14336 ]
            abyrne Ailish Byrne made changes -
            Component/s >=3.x [ 14406 ]
            kymber Kymber Horn made changes -
            Issue Type Bug Fix [ 1 ] Code Cleanup [ 10002 ]

              People

              • Assignee:
                bhutchinson Bryan Hutchinson
                Reporter:
                abyrne Ailish Byrne
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: