[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. [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-94f89814c4dfmaster
parent
9d472068cf
commit
b926481721
|
|
@ -416,6 +416,7 @@ public class LinkPropertyForm extends FormSection
|
||||||
} catch (MalformedURLException ex2) {
|
} catch (MalformedURLException ex2) {
|
||||||
StringBuilder msg = new StringBuilder();
|
StringBuilder msg = new StringBuilder();
|
||||||
|
|
||||||
|
/* excluded by Tobias Osmers to change the FormProcessException
|
||||||
if (localLink) {
|
if (localLink) {
|
||||||
// For local link, report the error after we put a
|
// For local link, report the error after we put a
|
||||||
// protocol and servername on it
|
// protocol and servername on it
|
||||||
|
|
@ -427,8 +428,8 @@ public class LinkPropertyForm extends FormSection
|
||||||
msg.append("External URL is not valid: ");
|
msg.append("External URL is not valid: ");
|
||||||
msg.append(ex.getMessage());
|
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
|
// If we fixed it by adding a protocol, notify the user to
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue