[MAGNOLIA-7251] Determine activated state from last activated version if set Created: 30/Jan/18 Updated: 29/Sep/20 Resolved: 20/Feb/18 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.5.10, 5.6.3 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Evzen Fochr | Assignee: | Evzen Fochr |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Sprint: | Kromeriz 132, Kromeriz 133, Kromeriz 134, Kromeriz 135 | ||||||||||||||||||||
| Story Points: | 0 | ||||||||||||||||||||
| Description |
|
We need to determine correct node state when using versioning and workflow.
|
| Comments |
| Comment by Milan Divilek [ 08/Feb/18 ] |
|
Reopen: 2018-02-08 09:19:30,907 INFO integrationtests.docker.IntegrationTestEnvironment: Caused by: java.lang.NullPointerException 2018-02-08 09:19:30,908 INFO integrationtests.docker.IntegrationTestEnvironment: at info.magnolia.jcr.util.NodeTypes$Activatable.getActivationStatus(NodeTypes.java:180) ~[magnolia-core-5.6.2-SNAPSHOT.jar:?] |
| Comment by Evzen Fochr [ 08/Feb/18 ] |
|
NPE was caused by importing xml file with property lastActivatedVersion set to not empty value. Added NPE check for version existence. |
| Comment by Evzen Fochr [ 12/Feb/18 ] |
|
We will probably need new mgnlProperty lastActivatedVersionCreated to improve performance impact caused by getting versions from VersionManager. |