Index: openacs-4/packages/xowiki/xowiki.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/xowiki.info,v
diff -u -r1.180.2.108 -r1.180.2.109
--- openacs-4/packages/xowiki/xowiki.info 26 Nov 2022 17:00:29 -0000 1.180.2.108
+++ openacs-4/packages/xowiki/xowiki.info 24 Dec 2022 16:33:24 -0000 1.180.2.109
@@ -10,7 +10,7 @@
t
xowiki
-
+
Gustaf Neumann
A xotcl-based enterprise wiki system with multiple object types
2021-09-15
@@ -55,7 +55,7 @@
BSD-Style
2
-
+
Index: openacs-4/packages/xowiki/catalog/xowiki.de_DE.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/catalog/xowiki.de_DE.ISO-8859-1.xml,v
diff -u -r1.47.2.24 -r1.47.2.25
--- openacs-4/packages/xowiki/catalog/xowiki.de_DE.ISO-8859-1.xml 26 Jun 2022 19:29:50 -0000 1.47.2.24
+++ openacs-4/packages/xowiki/catalog/xowiki.de_DE.ISO-8859-1.xml 24 Dec 2022 16:33:24 -0000 1.47.2.25
@@ -199,6 +199,7 @@
Titel der Seite
%errorMsg%
Another item with the name '%value%' exists already in this folder
+ Die Kurzbezeichung '%value%' ist ung�ltig
Page Order ung�ltig, nur Buchstaben, Ziffern, Punkte und Unterstrich sind erlaubt.
Art
Seitentitel
Index: openacs-4/packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml,v
diff -u -r1.71.2.29 -r1.71.2.30
--- openacs-4/packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml 26 Jun 2022 19:29:50 -0000 1.71.2.29
+++ openacs-4/packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml 24 Dec 2022 16:33:24 -0000 1.71.2.30
@@ -210,6 +210,7 @@
%errorMsg%
%errorMsg%
Another item with the name '%value%' exists already in this folder
+ Name '%value%' is invalid
Page Order invalid; might only contain upper and lowercase letters, underscore, digits and dots
Type
XoWiki Page
Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v
diff -u -r1.542.2.167 -r1.542.2.168
--- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 15 Dec 2022 19:30:02 -0000 1.542.2.167
+++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 24 Dec 2022 16:33:24 -0000 1.542.2.168
@@ -2925,7 +2925,15 @@
set success 0
}
} else {
- set errorMsg [_ xowiki.Page-validate_name-duplicate_item [list value $name]]
+ #
+ # The plain form valudation has signaled, that the name is not
+ # ok. Try to provide a more detailed error message.
+ #
+ if {![:istype ::xowiki::File] && [regexp {^[a-zA-Z][a-zA-Z]:$} $name]} {
+ set errorMsg [_ xowiki.Page-validate_name-invalid_name [list value $name]]
+ } else {
+ set errorMsg [_ xowiki.Page-validate_name-duplicate_item [list value $name]]
+ }
}
if {$success} {