Dashboard Widgets broken on http://qa-refapp.openmrs.org

@ssmusoke how did you test my changes?

@dkayiwa I updated my pom.xml to 2.0.6-SNAPHSOT then updated my SDK server with the new versions

Did you refresh the browser cache? How many different browsers did you try to test with?

@dkayiwa Thanks for pointing this out clearing cache does not work, however using a private browsing window gives me the required results.

So looks like the fix works

Update: It seems I still get an error with the patient dashboard as follows

Loading failed for the <script> with source “http://localhost:8080/openmrs/ms/uiframework/resource/uicommons/scripts/datetimepicker/locales/bootstrap-datetimepicker.en_GB.js?cache=1511760735082”

If this is fixed, shouldn’t you begin a new thread?

@raff Did you commit the fix to this bug - as it seems @dkayiwa has fixed the core issue

@dkayiwa The dashboard widgets are still broken as the fix to core is just one of those required to address the issue

Thanks @dkayiwa! It seems to be working, though it is inefficient, see my comment on the commit.

Strangely not. I’ll do that. (UPDATE: fixed!)

Can i change uicommons version 2.4.0 from 2.5.0-SNAPSHOT as in distro-pom.xml , if all issues are cleared ? cc.@raff

cc.@dkayiwa

FYI @ssmusoke

@tendomart, no, we need to release uicommons 2.5.0 and openmrs platform 2.0.6 and use it for RA 2.7.0. I can handle both tomorrow.

@raff alright thanks for the info,i will be patient as a snail


@raff I have tested against the 2.5.0 released and it now works fine however a 404 error occurs for bootstrap-datetimepicker.en_GB.js yet I also see that bootstrap-datetimepicker.js is returned well.

I am wondering is there a better way to handle the en_GB.js resource request? or at least return a blank file

@ssmusoke, fixed it in https://github.com/openmrs/openmrs-module-uicommons/commit/0b08e1a0a16fd79fa7549ab7abb6949b5eac031d

@raff That fixes it please can you release uicommons 2.6.0 and core 2.0.6 so that @tendomart can update the Ref App pom

Thanks again

@ssmusoke, yes, I’m working on that, though having some issues with CI
 Hope to fix them today.

1 Like

@raff just seen OpenMRS Core 2.0.6 and uicommons 2.5.1 @tendomart FYI

@ssmusoke i cannot access the wiki’s everytime i try accessing them i get this message "You are not permitted to perform this operation. " So i cannot really do anything.

FYI @raff ,@dkayiwa , @cintiadr

Try logout and then login again.

1 Like

@dkayiwa worked perfect.Thanks