From b926481721d11850c836e4e8aae19047ff7495ec Mon Sep 17 00:00:00 2001 From: tosmers Date: Fri, 13 Feb 2015 22:06:55 +0000 Subject: [PATCH] [UPDATE] In der Klasse com/arsdigita/cms/contenttypes/ui/LinkPropertyForm.java die FormProcessException in der Zeile 432 umgebaut. If-Bedingung der zuvorigen Ermitteln der Info-Nachricht vorerst ausgeklammert. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [INFO] Entscheidung, ob das Ausgeklammerte gelöscht werden kann bitte jemand anderes Treffen... git-svn-id: https://svn.libreccm.org/ccm/trunk@3155 8810af33-2d31-482b-a856-94f89814c4df --- .../com/arsdigita/cms/contenttypes/ui/LinkPropertyForm.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ccm-cms/src/com/arsdigita/cms/contenttypes/ui/LinkPropertyForm.java b/ccm-cms/src/com/arsdigita/cms/contenttypes/ui/LinkPropertyForm.java index 78926aceb..446b79baf 100755 --- a/ccm-cms/src/com/arsdigita/cms/contenttypes/ui/LinkPropertyForm.java +++ b/ccm-cms/src/com/arsdigita/cms/contenttypes/ui/LinkPropertyForm.java @@ -416,6 +416,7 @@ public class LinkPropertyForm extends FormSection } catch (MalformedURLException ex2) { StringBuilder msg = new StringBuilder(); + /* excluded by Tobias Osmers to change the FormProcessException if (localLink) { // For local link, report the error after we put a // protocol and servername on it @@ -427,8 +428,8 @@ public class LinkPropertyForm extends FormSection msg.append("External URL is not valid: "); msg.append(ex.getMessage()); } - - throw new FormProcessException(msg.toString()); + */ + throw new FormProcessException(GlobalizationUtil.globalize("cms.contenttypes.ui.url_not_valid")); } // If we fixed it by adding a protocol, notify the user to