Uploaded image for project: 'Logic Module'
  1. Logic Module
  2. LOGIC-53

LogicService.parse(String) on a badly-formed expression may run forever

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: Logic 0.4
    • Fix Version/s: Logic 0.4.1
    • Labels:
    • Complexity:
      High

      Description

      Making this call

      logicService.parse("WEIGHT (KG)"); // this *should* be "\"WEIGHT (KG)\""
      

      runs forever.
      See http://openmrs-mailing-list-archives.1560443.n2.nabble.com/Logic-Parser-issue-tp5653457p5653457.html for a detailed conversation

        Attachments

          Activity

            People

            Assignee:
            darius Darius Jazayeri
            Reporter:
            darius Darius Jazayeri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: