From 7ca61f86c49fdb68cccf1a1d946dd4c214354eb7 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 20 Jan 2014 11:21:49 +0530 Subject: [PATCH 1/2] Null issue fixed while value comparison --- webnotes/model/controller.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webnotes/model/controller.py b/webnotes/model/controller.py index a64485808d..6d98a8e8ec 100644 --- a/webnotes/model/controller.py +++ b/webnotes/model/controller.py @@ -50,6 +50,10 @@ class DocListController(object): elif df.fieldtype in ("Int", "Check"): val1 = cint(val1) val2 = cint(val2) + elif df.fieldtype in ("Data", "Text", "Small Text", "Long Text", + "Text Editor", "Select", "Link"): + val1 = cstr(val1) + val2 = cstr(val2) if not webnotes.compare(val1, condition, val2): msg = _("Error") + ": " From 03879132e79606e4c08e244ea08cf199c04b6ff5 Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Mon, 20 Jan 2014 19:22:01 +0600 Subject: [PATCH 2/2] bumped to version 3.7.4 --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 5b0a01690c..449437fc09 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "base_template": "lib/website/templates/base.html", - "framework_version": "3.7.3", + "framework_version": "3.7.4", "modules": { "Calendar": { "color": "#2980b9",