Error message when entering a new schema name into Schema window shows SchemaNode name [object Object].
diff --git a/structr-ui/src/main/resources/structr/js/init.js b/structr-ui/src/main/resources/structr/js/init.js
index 6e81dbdcc7..6de28e0420 100644
--- a/structr-ui/src/main/resources/structr/js/init.js
+++ b/structr-ui/src/main/resources/structr/js/init.js
@@ -680,7 +680,7 @@ var Structr = {
                 $.each(Object.keys(response.errors[err]), function(j, attr) {
                     errorText += attr + ' ';
                     $.each(response.errors[err][attr], function(k, cond) {
-                        if (typeof cond === 'Object') {
+                        if (typeof cond === 'object') {
                             $.each(Object.keys(cond), function(l, key) {
                                 errorText += key + ' ' + cond[key];
                             });
@@ -1355,4 +1355,4 @@ $(window).unload(function() {
     log('########################################### unload #####################################################');
     // Remove dialog data in case of page reload
     localStorage.removeItem(dialogDataKey);
-});
\ No newline at end of file
+});
diff --git a/structr-ui/src/test/java/org/structr/web/test/PropertyViewTest.java b/structr-ui/src/test/java/org/structr/web/test/PropertyViewTest.java
index 26b2e059b9..9aed97bf36 100644
--- a/structr-ui/src/test/java/org/structr/web/test/PropertyViewTest.java
+++ b/structr-ui/src/test/java/org/structr/web/test/PropertyViewTest.java
@@ -2,6 +2,8 @@ package org.structr.web.test;
 
 import com.jayway.restassured.RestAssured;
 import com.jayway.restassured.filter.log.ResponseLoggingFilter;
+import java.text.SimpleDateFormat;
+import java.util.Date;
 import static org.hamcrest.Matchers.equalTo;
 import static org.hamcrest.Matchers.hasSize;
 import static org.hamcrest.Matchers.notNullValue;
@@ -242,6 +244,9 @@ public class PropertyViewTest extends StructrUiTest {
 
 
 		// create entity
+        final SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
+        final Date testDate = new Date(112, 9, 18, 0, 33, 2);
+        final String expectedDate = format.format(testDate);
 		final String uuid = getUuidFromLocation(RestAssured
 
 			.given()
@@ -249,7 +254,7 @@ public class PropertyViewTest extends StructrUiTest {
 				.header("X-User", username)
 				.header("X-Password", password)
 				.header("Accept", "application/json; charset=UTF-8")
-				.body(" { 'name' : 'TestOne-0', 'anInt' : 0, 'aLong' : 0, 'aDate' : '2012-09-18T00:33:12+0200' } ")
+				.body(" { 'name' : 'TestOne-0', 'anInt' : 0, 'aLong' : 0, 'aDate' : '" + expectedDate + "' } ")
 				.filter(ResponseLoggingFilter.logResponseIfStatusCodeIs(400))
 				.filter(ResponseLoggingFilter.logResponseIfStatusCodeIs(401))
 				.filter(ResponseLoggingFilter.logResponseIfStatusCodeIs(500))
@@ -285,7 +290,7 @@ public class PropertyViewTest extends StructrUiTest {
 				.body("result[0].name",             equalTo("TestOne-0"))
 				.body("result[0].anInt",            equalTo(0))
 				.body("result[0].aLong",            equalTo(0))
-				.body("result[0].aDate",            equalTo("2012-09-17T22:33:12+0000"))
+				.body("result[0].aDate",            equalTo(expectedDate))
 
 			.when()
 				.get(resource);
@@ -314,7 +319,7 @@ public class PropertyViewTest extends StructrUiTest {
 				.body("result[0].name",                        equalTo("TestOne-0"))
 				.body("result[0].anInt",                       equalTo(0))
 				.body("result[0].aLong",                       equalTo(0))
-				.body("result[0].aDate",                       equalTo("2012-09-17T22:33:12+0000"))
+				.body("result[0].aDate",                       equalTo(expectedDate))
 				.body("result[0].base",                        nullValue())
 				.body("result[0].createdDate",                 notNullValue())
 				.body("result[0].lastModifiedDate",            notNullValue())
@@ -357,7 +362,7 @@ public class PropertyViewTest extends StructrUiTest {
 				.body("result[0].name",             equalTo("TestOne-0"))
 				.body("result[0].anInt",            equalTo(0))
 				.body("result[0].aLong",            equalTo(0))
-				.body("result[0].aDate",            equalTo("2012-09-17T22:33:12+0000"))
+				.body("result[0].aDate",            equalTo(expectedDate))
 
 			.when()
 				.get(resource + "/ui");
['structr-ui/src/main/resources/structr/js/init.js', 'structr-ui/src/test/java/org/structr/web/test/PropertyViewTest.java']