Skip to content

Instantly share code, notes, and snippets.

@jmewes
Last active May 1, 2017 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmewes/893a777052bcd79c80911bf4aa8a15fd to your computer and use it in GitHub Desktop.
Save jmewes/893a777052bcd79c80911bf4aa8a15fd to your computer and use it in GitHub Desktop.
Bahmni Bug Report: Cannot save medication in online demo

Observed result

After entering a drug name and filling in the mandatory fields for the consumption details, clicking on the "Save" button will lead to an error message.

Screenshot: http://pasteboard.co/9bCsOXRGA.png

Expected result

The medication should be saved and synchronized into OpenERP.

Steps to reproduce

  1. Open the EMR component: https://demo.mybahmni.org/bahmni/home/#/dashboard (credentials: superman/Admin123)
  2. Click on the "Clinical" widget
  3. Go to the details of any patient
  4. Click on the "Consultation" button in the top menu bar
  5. Go to the "Medications" tab
  6. Enter any drug name in the left panel and fill all the mandatory fields
  7. Click the save button (top right)

Environment

  • Bahmni Installation: v0.87, hosted in Singapore, https://demo.mybahmni.org
  • Webbrowser:
    • Operating system: Linux (Fedora 25), Timezone Indian Standard Time (IST)
      • Chromium Version 57.0.2987.133 Fedora Project (64-bit) (German localization OS)
      • Chromium Version 57.0.2987.133 Fedora Project (64-bit) (British localization OS)
    • Operating system: Windows 7, Timezone Europe/Berlin
      • Chrome Version 58.0.3029.81 (64-bit) (German localization OS)
    • Operating system: Windows 10, Timezone India Standard Time (IST)
      • Chome. (English (India) localization of OS)

Diagnostic information

Error messages on JavaScript console

Cannot load CSS file https://demo.mybahmni.org/bahmni/components/offline/themes/%7B%7BgetLocaleCSS()%7D%7D.css

/bahmni/components/offline/themes/%7B%7BgetLocaleCSS()%7D%7D.css Failed to load resource: the server responded with a status of 404 (Not Found)

Cannot load JavaScript file https://demo.mybahmni.org/implementation_config/openmrs/apps/clinical/formConditions.js

formConditions.js Failed to load resource: the server responded with a status of 404 (Not Found)

Warning about a deprecated module:

moment.min.39e70acc.js:1 Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment