KS Curriculum Management
  1. KS Curriculum Management
  2. KSCM-1584

Stacktrace error when entering a Subject Code that is Mixed Case

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: CM-3.0-FR
    • Fix Version/s: CM-3.0-FR-M1
    • Component/s: PDT - Green
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None

      Description

      Log into CM KRAD as Fred
      Select: Create a Course
      Start a blank proposal
      Enter a proposal title
      Enter a Course Title
      Enter subject code Hist the tab to course number
      Enter course number 100
      Select either Save and Continue or Save Progress

      Expected result would be an error message indicating this was not a valid Subject Code.
      (See comments section for additional scenarios and error messaging)

      Actual Result is stacktrace error

      org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException
      at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014)
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
      at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:475)
      ...

      1. KSCM-1584_Fix_Require_Approach_Review.patch
        6 kB
        Lakshmi Rama Krishna Jamisetty
      2. Stacktrace.txt
        29 kB
        Lakshmi Rama Krishna Jamisetty

        Issue Links

          Activity

          Hide
          Jodi McKeeman (Inactive) added a comment - - edited

          Investigating different scenarios, determined that stacktrace occurs when mixed case, lower case or lass than 4 characters, (anytime it is not in ABCD format).

          Stacktrace does not occur when any four uppercase letters entered, even if the four letters do not match an Subject Code from the database (but user does not get any error messaging when subject code doesn't match).

          In solving this issue can we auto-convert lowercase or mixed case text to upper case and then, if entered subject code doesn't match database/not valid, the following error is thrown:

          "Subject Code does not exist. Enter a valid Subject Code."

          Show
          Jodi McKeeman (Inactive) added a comment - - edited Investigating different scenarios, determined that stacktrace occurs when mixed case, lower case or lass than 4 characters, (anytime it is not in ABCD format). Stacktrace does not occur when any four uppercase letters entered, even if the four letters do not match an Subject Code from the database (but user does not get any error messaging when subject code doesn't match). In solving this issue can we auto-convert lowercase or mixed case text to upper case and then, if entered subject code doesn't match database/not valid, the following error is thrown: "Subject Code does not exist. Enter a valid Subject Code."
          Hide
          Lakshmi Rama Krishna Jamisetty (Inactive) added a comment - - edited

          Attached Complete stack trace from logs.

          Show
          Lakshmi Rama Krishna Jamisetty (Inactive) added a comment - - edited Attached Complete stack trace from logs.
          Hide
          Jodi McKeeman (Inactive) added a comment -

          KSCM-1752 may solve KSCM-1584?

          Show
          Jodi McKeeman (Inactive) added a comment - KSCM-1752 may solve KSCM-1584 ?
          Hide
          Lakshmi Rama Krishna Jamisetty (Inactive) added a comment -

          Attached Patch: KSCM-1584_Fix_Require_Approach_Review.patch
          Fixed and issue in my local but needs review on the approach I followed.

          Show
          Lakshmi Rama Krishna Jamisetty (Inactive) added a comment - Attached Patch: KSCM-1584 _Fix_Require_Approach_Review.patch Fixed and issue in my local but needs review on the approach I followed.
          Hide
          Jodi McKeeman (Inactive) added a comment -

          Cannot reproduce. Earlier fix on a different issue auto converts mixed case to upper case/matches to valid subject code so no way to reproduce this stacktrace.

          Show
          Jodi McKeeman (Inactive) added a comment - Cannot reproduce. Earlier fix on a different issue auto converts mixed case to upper case/matches to valid subject code so no way to reproduce this stacktrace.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Agile

                  Structure Helper Panel