Der CreateStep für PublicPersonalProfile hat keinen Workflow zugewiesen.

git-svn-id: https://svn.libreccm.org/ccm/trunk@1220 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2011-11-03 06:17:57 +00:00
parent abfe02167a
commit e4d037885e
1 changed files with 5 additions and 2 deletions

View File

@ -49,8 +49,9 @@ public class PublicPersonalProfileCreate extends PageCreate {
private static final String SELECTED_PERSON = "selectedPerson";
private static final PublicPersonalProfileConfig config =
PublicPersonalProfiles.getConfig();
PublicPersonalProfiles.
getConfig();
public PublicPersonalProfileCreate(final ItemSelectionModel itemModel,
final CreationSelector parent) {
super(itemModel, parent);
@ -188,6 +189,8 @@ public class PublicPersonalProfileCreate extends PageCreate {
bundle.setContentSection(m_parent.getContentSection(state));
bundle.save();
m_workflowSection.applyWorkflow(state, item);
PublicPersonalProfile profile = new PublicPersonalProfile(item.getOID());
profile.setOwner(owner);
//profile.setProfileUrl(owner.getSurname().toLowerCase());