java - New document by BaseHstComponent: Could not obtain workflow 'default' -


I made my own spring-accredited bean and it was injected and applied correctly.

I tried to submit the form, get the form data in DTO and to create and save my Todoim.

My "Toddime" Bean Hippo Doctor expands and applies the content nodebender.

I put the DTO in the node conversion within the bind method:

  ... node.getProperty ("mathipopodolist: title"). SetValue (dto.getTitle ()); Node.getProperty ("myhippotodolist: content") setValue (dto.getContent ()) ;. ...  

I wrote this code in the doAction method:

  persistableSession = getPersistable session (request); Wpm = getWorkflowPersistenceManager (continuous session); ... ... the last string absPathNode = wpm.createAndReturn (todoitemFolderPath, "myhippotodolist: todoitem", todoItemNodeName, true); Todoitem todoitemBean = (Todoitem) wpm.getObject (absPathNode); ... ... todoitemBean.bind (toDoItemDTO, todoitemBean.getNode ()); Wpm.update (todoitemBean);  

Well, now I can see the new node via the hippo console but the title and content are not valued. I have also received this message log:

  [INFO] [talledLocalContainer] 03.11.2014 14:58:13 Warning http-bio-8080-exec-1 [Workflowprisonists Impl.update: 432 Get the 'default' workflow for '/ content / documents / myhippotodolist / todoitems / todoitem-1415023023096 / todoitem-1415023023096' Make sure that users have sufficient workflow rights on the node of 'sitewriter'.  

I have also configured readwrite permissions for sitewriters in domain workflow and hiplog documents.

I do not understand ... what is my error?

Thanks

Do you want to import user-generated content domain into domain You can try Gogury with the comment:

It seems that sitewriter does not have the privileges to access the correct workflow tasks. You should be able to do the workflow described with the domain.

Good luck,


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -