OpenMRS Core Master

Build: #956 failed

Job: Build and Test failed

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Form backing object should return valid location given valid location id: Test case result

The below summarizes the result of the test "Form backing object should return valid location given valid location id" in build 956 of OpenMRS Core - OpenMRS Core Master - Build and Test. View test case history
Description
Form backing object should return valid location given valid location id
Test class
org.openmrs.web.controller.encounter.LocationFormControllerTest
Method
formBackingObject_shouldReturnValidLocationGivenValidLocationId
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

org.openmrs.api.APIAuthenticationException: error.privilegesRequired
	at org.openmrs.aop.AuthorizationAdvice.throwUnauthorized(AuthorizationAdvice.java:117)
	at org.openmrs.aop.AuthorizationAdvice.before(AuthorizationAdvice.java:98)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
	at com.sun.proxy.$Proxy80.getAllLocationTags(Unknown Source)
	at org.openmrs.web.controller.encounter.LocationFormController.referenceData(LocationFormController.java:67)
	at org.springframework.web.servlet.mvc.SimpleFormController.referenceData(SimpleFormController.java:215)
	at org.springframework.web.servlet.mvc.AbstractFormController.showForm(AbstractFormController.java:569)
	at org.springframework.web.servlet.mvc.SimpleFormController.showForm(SimpleFormController.java:198)
	at org.springframework.web.servlet.mvc.SimpleFormController.showForm(SimpleFormController.java:176)
	at org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(AbstractFormController.java:337)
	at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:279)
	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
	at org.openmrs.web.controller.encounter.LocationFormControllerTest.formBackingObject_shouldReturnValidLocationGivenValidLocationId(LocationFormControllerTest.java:89)