BugFix für UnPublishedOrganizationSheet.java
git-svn-id: https://svn.libreccm.org/ccm/trunk@1494 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
c4118f32d6
commit
c38abf9d30
|
|
@ -23,6 +23,7 @@ import com.arsdigita.cms.contenttypes.UnPublished;
|
||||||
import com.arsdigita.cms.dispatcher.ItemResolver;
|
import com.arsdigita.cms.dispatcher.ItemResolver;
|
||||||
import com.arsdigita.cms.dispatcher.Utilities;
|
import com.arsdigita.cms.dispatcher.Utilities;
|
||||||
import com.arsdigita.dispatcher.ObjectNotFoundException;
|
import com.arsdigita.dispatcher.ObjectNotFoundException;
|
||||||
|
import com.arsdigita.domain.DomainObjectFactory;
|
||||||
import com.arsdigita.util.LockableImpl;
|
import com.arsdigita.util.LockableImpl;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
|
@ -181,7 +182,7 @@ public class UnPublishedOrganizationSheet
|
||||||
} else {
|
} else {
|
||||||
GenericOrganizationalUnit organization;
|
GenericOrganizationalUnit organization;
|
||||||
try {
|
try {
|
||||||
organization = new Publisher(
|
organization = new GenericOrganizationalUnit(
|
||||||
(BigDecimal) key);
|
(BigDecimal) key);
|
||||||
} catch (ObjectNotFoundException ex) {
|
} catch (ObjectNotFoundException ex) {
|
||||||
return new Label(value.toString());
|
return new Label(value.toString());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue