Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41030

ExportResponseBean unit tests cause lots of exceptions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 12.5, 20.0
    • Fix Version/s: 19.4, 20.0
    • Labels:
      None
    • 19 status:
      Verified
    • Test Plan:
      1. Create an assessment
      2. have at least one student take the assessment
      3. As instructor go to Scores
      4. click Export tab
      5. Successful if export file is downloaded and contains the correct data

      Description

      When running unit tests

      org.sakaiproject.tool.assessment.ui.bean.evaluation.ExportResponsesBeanTest

      causes a lot of exceptions to be printed to the console:

      ERROR - SpringCompMgr - No bean named 'org.sakaiproject.log.api.LogConfigurationManager' available
      org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.sakaiproject.log.api.LogConfigurationManager' available
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:687)
      ...
      ERROR - SpringCompMgr - get(org.sakaiproject.component.api.ServerConfigurationService):
      java.lang.IllegalStateException: org.sakaiproject.util.SakaiApplicationContext@694abbdc has not been refreshed yet
      at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1067)

       

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  ern Earle R Nietzel
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration