You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by jc...@apache.org on 2014/04/03 12:38:20 UTC

[2/2] git commit: ISIS-760: increased column length for target

ISIS-760: increased column length for target

from 255 to 2000 (to cope with the longer OIDs of view models).  Chose 2000 as a defacto length allowed for request URLs (since OIDs of view models appear in the URL of web browsers in both Wicket and Restful Objects viewers).


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/0fc37090
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/0fc37090
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/0fc37090

Branch: refs/heads/master
Commit: 0fc3709066cb012cb33363252bd752874d034e3b
Parents: c957bdc
Author: Jeroen van der Wal <je...@stromboli.it>
Authored: Thu Apr 3 12:22:53 2014 +0200
Committer: Jeroen van der Wal <je...@stromboli.it>
Committed: Thu Apr 3 12:34:26 2014 +0200

----------------------------------------------------------------------
 .../isis/objectstore/jdo/applib/service/JdoColumnLength.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/0fc37090/component/objectstore/jdo/jdo-applib/src/main/java/org/apache/isis/objectstore/jdo/applib/service/JdoColumnLength.java
----------------------------------------------------------------------
diff --git a/component/objectstore/jdo/jdo-applib/src/main/java/org/apache/isis/objectstore/jdo/applib/service/JdoColumnLength.java b/component/objectstore/jdo/jdo-applib/src/main/java/org/apache/isis/objectstore/jdo/applib/service/JdoColumnLength.java
index 55917e0..6375ab0 100644
--- a/component/objectstore/jdo/jdo-applib/src/main/java/org/apache/isis/objectstore/jdo/applib/service/JdoColumnLength.java
+++ b/component/objectstore/jdo/jdo-applib/src/main/java/org/apache/isis/objectstore/jdo/applib/service/JdoColumnLength.java
@@ -24,8 +24,8 @@ public final class JdoColumnLength {
     }
 
     public final static int TRANSACTION_ID = 36;
-    // ie OID str
-    public final static int BOOKMARK = 255; 
+    // ie OID str (based on the defacto limit of a request URL in web browsers such as IE8)
+    public final static int BOOKMARK = 2000; 
     public static final int MEMBER_IDENTIFIER = 255;
     public static final int USER_NAME = 50;
     public final static int TARGET_CLASS = 50;