[LIVECOPY-246] Publishing doesn't set the userName property on the task Created: 19/Feb/21 Updated: 28/Oct/22 Resolved: 24/Mar/21 |
|
| Status: | Closed |
| Project: | Live Copy |
| Component/s: | None |
| Affects Version/s: | 3.2.1 |
| Fix Version/s: | 3.2.3 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Richard Gange | Assignee: | Yen Lac Tue |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | VN-Maintenance, VN-Testing, maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 2.25d | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Template: | |||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[X]*
Steps to reproduce, expected, and actual results filled
[X]*
Affected version filled
|
||||||||
| Date of First Response: | |||||||||
| Epic Link: | AuthorX Maintenance | ||||||||
| Sprint: | Maintenance 49, Maintenance 50 | ||||||||
| Story Points: | 3 | ||||||||
| Description |
|
Reproduce
Example of of incomplete task: tasks.tasks.2021.1.17.1612888001618.yaml '1612888001618': 'actorId': 'sjones' 'comment': '' 'groupIds': ['publishers'] 'jcr:primaryType': 'mgnl:task' 'jcr:uuid': '3ee9fa8c-c3a6-4013-b74b-44fbaf44816d' 'mgnl:created': 2021-02-17T09:22:46.209Z 'mgnl:createdBy': 'System [sjones]' 'mgnl:lastModified': 2021-02-17T09:24:57.075Z 'mgnl:lastModifiedBy': 'System [sjones]' 'name': 'publish' 'ocm_classname': 'info.magnolia.module.workflow.jbpm.humantask.HumanTask' 'priority': 0 'skippable': false 'status': 'info.magnolia.task.Task$Status:Resolved' Notes
|
| Comments |
| Comment by Richard Gange [ 03/Mar/21 ] |
task.setUserName((String) content.get(Context.ATTRIBUTE_USERNAME));
See Context |
| Comment by Richard Gange [ 08/Mar/21 ] |
|
ldelnevo it's only a one line change if I am not mistaken. This line should be:
task.setUserName((String) content.get(Context.ATTRIBUTE_USERNAME));
|
| Comment by Richard Gange [ 08/Mar/21 ] |
|
Or just add the one line is also good. It wound not hurt to have both. |