[UPDATE]
In der Klasse ccm-portlet-bookmarks/src/com/arsdigita/portlet/bookmarks/ui/BookmarksPortletEditor.java die FormProcessException in der Zeile 309 umgebaut. git-svn-id: https://svn.libreccm.org/ccm/trunk@3206 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
973358bc5d
commit
a6e1340b0c
|
|
@ -51,6 +51,7 @@ import com.arsdigita.portal.Portlet;
|
||||||
import com.arsdigita.portlet.bookmarks.Bookmark;
|
import com.arsdigita.portlet.bookmarks.Bookmark;
|
||||||
import com.arsdigita.portlet.bookmarks.BookmarkConstants;
|
import com.arsdigita.portlet.bookmarks.BookmarkConstants;
|
||||||
import com.arsdigita.portlet.bookmarks.BookmarksPortlet;
|
import com.arsdigita.portlet.bookmarks.BookmarksPortlet;
|
||||||
|
import com.arsdigita.portlet.bookmarks.util.GlobalizationUtil;
|
||||||
import com.arsdigita.util.UncheckedWrapperException;
|
import com.arsdigita.util.UncheckedWrapperException;
|
||||||
import com.arsdigita.web.Application;
|
import com.arsdigita.web.Application;
|
||||||
import com.arsdigita.web.URL;
|
import com.arsdigita.web.URL;
|
||||||
|
|
@ -305,7 +306,8 @@ public class BookmarksPortletEditor
|
||||||
&& fullUrl.indexOf("/content/") != -1 ) {
|
&& fullUrl.indexOf("/content/") != -1 ) {
|
||||||
// not watertight, but is reasonable check that user is trying
|
// not watertight, but is reasonable check that user is trying
|
||||||
// to specify a content item on this site
|
// to specify a content item on this site
|
||||||
throw new FormProcessException(CONTENT_ITEM_NOT_FOUND);
|
throw new FormProcessException(GlobalizationUtil.globalize(
|
||||||
|
"bookmarks.error.content-item-not-found"));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue