By default an ASO is never null. It's automatically created using the ASO class default constructor.
It's many times needed to have the null value in an ASO, for example if i want to keep the logged in user in an ASO.
Right now we can do this by contributing a new ApplicationStateCreator to the ApplicationStateManager but it seems to me that should be as easy as providing a parameter to the @ApplicationState indicating that you don't want it to be automatically initialized.
|Field||Original Value||New Value|
|Assignee||Howard M. Lewis Ship [ hlship ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Summary||It should be easy to initialize an ASO to null||It should be easier to access an Application State Object without forcing its creation|
|Fix Version/s||5.0.8 [ 12312898 ]|
|Status||In Progress [ 3 ]||Closed [ 6 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 12419679 ]||Default workflow, editable Closed status [ 12568444 ]|
|Workflow||Default workflow, editable Closed status [ 12568444 ]||jira [ 12591497 ]|