Sonar metrics for OpenMRS Core Master

Build: #1009 was successful Scheduled with changes by 3 people

Code commits

Git

  • Daniel Kayiwa

    Daniel Kayiwa d98373d8a0cc5163181a48fc0b64d43281c0e975

    Merge pull request #1832 from MitchellBot/trunk-4913
    TRUNK-4913 Concept.hbm.xml not-null on optional changedBy

  • MitchellBot <mitchell.jim.p@gmail.com>

    MitchellBot <mitchell.jim.p@gmail.com> 067347f05b5496e5de4105ae33a3f115b581127d

    TRUNK-4913 Concept.hbm.xml not-null on optional changedBy
    Removed not-null="true"

    Removed the not-null requirement from the many-to-many relationship on the changedBy column. I confirmed against a newly generated hbm.xml for Concept that this constraint doesn't belong. Build success, all tests passed. No new tests required.

    • api/src/main/resources/org/openmrs/api/db/hibernate/Concept.hbm.xml (version 067347f05b5496e5de4105ae33a3f115b581127d)
  • dkayiwa <kayiwadaniel@gmail.com>

    dkayiwa <kayiwadaniel@gmail.com> df148feaddd762ffe7394eabfbdc491eed5e28d0

    Fixing: java.lang.IllegalAccessException: Class org.openmrs.web.filter.StartupFilter can not access a member of class org.openmrs.web.filter.startuperror.StartupErrorFilterModel with modifiers "protected static final" at org.openmrs.web.filter.StartupFilter.renderTemplate(StartupFilter.java:245)
    (cherry picked from commit 1e7855244fb9adaaa94e83b425e0d8e610e45e65)

    • web/src/main/java/org/openmrs/web/filter/StartupFilter.java (version df148feaddd762ffe7394eabfbdc491eed5e28d0)