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. 

[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
master
tosmers 2015-02-13 22:06:55 +00:00
parent 9d472068cf
commit b926481721
1 changed files with 3 additions and 2 deletions

View File

@ -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