[MAGNOLIA-6157] Allow to configure RestorePreviousVersionCommand using Rule class. Created: 07/Apr/15 Updated: 23/Jun/16 Resolved: 08/Apr/15 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.3 |
| Fix Version/s: | 5.3.8 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Antonín Juran | Assignee: | Antonín Juran |
| 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 DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Description |
|
Allow to configure RestorePreviousVersionCommand using Rule class. May be needed to restore nodes whose type is not in mgnl: namespace. For example in shop module node types are not from mgnl: namespace, but we want to reuse this command in shop. So it's needed to allow configure custom Rule for collecting node children. |
| Comments |
| Comment by Antonín Juran [ 08/Apr/15 ] |
|
Add unit test. |
| Comment by Mikaël Geljić [ 08/Apr/15 ] |
|
Hey,
|