[MGNLUI-5543] Implement 'asynchronous' property for command actions Created: 04/Dec/19  Updated: 15/Oct/20  Resolved: 21/Mar/20

Status: Closed
Project: Magnolia UI
Component/s: actionbar
Affects Version/s: None
Fix Version/s: 6.2

Type: Task Priority: Neutral
Reporter: Ashraf Khamis Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: actions, ui-devx-impr
Remaining Estimate: 0d
Time Spent: 2d 0.6h
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MAGNOLIA-7704 Asynchronous context implementation Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Documentation update required:
Yes
Date of First Response:
Sprint: UI Framework 20, UI Framework 14
Story Points: 5

 Description   

Implement the 'asynchronous' property in the M6 UI framework to allow users to run command actions asynchronously in the background.

For related documentation, see https://documentation.magnolia-cms.com/display/DOCS62/Action+definition+-+6+UI#Actiondefinition-6UI-Asynchronousactions.



 Comments   
Comment by Ashraf Khamis [ 14/Jan/20 ]

Documentation

The notifyUsertimeToWaitdelay and parallel properties are no longer supported and have therefore been deleted from https://documentation.magnolia-cms.com/display/DOCS62/Action+definition+-+6+UI#Actiondefinition-6UI-Commandactionproperties.

Comment by Federico Grilli [ 20/Jan/20 ]

Issue found while doing QA (latest CE master snapshot)

  • added a new file under Resources app-> /mail/i18n/foobar
  • published
  • got this exception
    020-01-20 15:42:00,687 ERROR nfo.magnolia.admincentral.AdmincentralErrorHandler: AdmincentralUI has encountered an unhandled exception.
    java.lang.IllegalStateException: MgnlContext is already set for this thread. Please run result of info.magnolia.context.AsynchronousContext.OperationFactory#wrap in a separate thread
        at info.magnolia.context.AsynchronousContext$OperationFactory.lambda$wrap$0(AsynchronousContext.java:182) ~[magnolia-core-6.2-SNAPSHOT.jar:?]
    ....
    
Comment by Roman Kovařík [ 20/Mar/20 ]

Reopened: https://magnolia-cms.slack.com/archives/CKZU5784F/p1584629069084800?thread_ts=1584627532.075700&cid=CKZU5784F

Generated at Mon Feb 12 09:27:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.