Assignee shows logged in user when other user is selected

Description

Steps to reproduce

  • Make sure you have at least two users with workflow access to an article

  • Log in as the first user

  • Open the article

  • Set the Assignee to the second user and save the article
    --> When the user is bound to a relation, the facet navigation shows the assignee. So the assignee seems to be changed. That's OK.

  • Open the article again

  • The current user is selected in the Assignee select box. --> That's not OK.

Maybe this has something to do with selecting the current user as default assignee for a new article. This should not be done with existing articles.

Deployment actions

None

Technical tasks

None

Activity

Show:
Jan Sanne Mulder
February 1, 2017, 8:41 AM

in de getUser methode zijn de services veranderd zodat deze niet meer deprecated zijn. De andere wijziging is dat $data nu null is in plaats van een array met wat lege waarden er in.

Michael Jongman
February 1, 2017, 7:24 AM
Edited

, het enige wat in mijn ogen wijzigt is de getUser in de class: Extension/EventListener/ContentSubscriber.php, klopt dat? Qua functionaliteit..

Ik heb de PR op approve gezet.

Fixed

Assignee

Unassigned

Client

None

External issue ID

None

Min. hours

None

Dev hour estimate

None

Fix versions