Error while saving visit page with Mandatory Boolean concept

Environment: Bahmni 0.90 vBbox

  1. Add Boolean concept in Fee Information.
  2. Set this Boolean concept as Mandatory through app.config’s conceptsetui
  3. Registration->Enter Visit Details/New Visit->Select No for the Boolean Concept
  4. Saving the visit page (second page of registration) throws error as shown below:

This is due to visitcontroller.js needs explicit condition for boolean.

Good catch! Do you have a quick fix for this that you can submit as a pull request?

I already submitted a pull request.

@ramashish thanks for this, I see it now. Can you also please create a JIRA ticket? (If you don’t have access to create a JIRA ticket, we need to get this for you.)