[MGNLBACKUP-67] Overview of existing tasks does not show if the backup is enabled or disabled Created: 23/May/13  Updated: 29/Mar/22  Resolved: 30/Apr/14

Status: Closed
Project: Backup
Component/s: None
Affects Version/s: 1.2.1, 1.5
Fix Version/s: 1.2.5, 1.5.1

Type: Improvement Priority: Neutral
Reporter: Sergej Tissen Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: JPEG File Screen Shot 2014-04-30 at 11.26.00.jpg     JPEG File existing tasks overview.jpg     JPEG File status of tasks.jpg    
Issue Links:
relation
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:
Visible to:
Tobias Hitzfeld
Team: Nucleus

 Description   

In the view Tools/Backup is a section "Existing Tasks". This section shows the cofigured backup tasks and does not flag them as either enabled or disabled.

Can these tasks be flagged, so it's possible to see, which tasks are actually beeing executed?



 Comments   
Comment by Daniel Lipp [ 29/Apr/14 ]

At least for the 4.5.x fix the enabled property is expected one level too high.

Comment by Daniel Lipp [ 30/Apr/14 ]

I just qa'ed the 1.2.x fix: there's one ugly regression now - the target folder is no longer displayed Pls check on master as well.

[INFO] [talledLocalContainer] Expression item.targetPath is undefined on line 76, column 60 in info/magnolia/module/backup/pages/BackupPage.html.
[INFO] [talledLocalContainer] The problematic instruction:
[INFO] [talledLocalContainer] ----------
[INFO] [talledLocalContainer] ==> ${item.targetPath} [on line 76, column 58 in info/magnolia/module/backup/pages/BackupPage.html]
[INFO] [talledLocalContainer] ----------
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer] Java backtrace for programmers:
[INFO] [talledLocalContainer] ----------
[INFO] [talledLocalContainer] freemarker.core.InvalidReferenceException: Expression item.targetPath is undefined on line 76, column 60 in info/magnolia/module/backup/pages/BackupPage.html.
[INFO] [talledLocalContainer] 	at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125)
[INFO] [talledLocalContainer] 	at freemarker.core.Expression.getStringValue(Expression.java:118)
[INFO] [talledLocalContainer] 	at freemarker.core.Expression.getStringValue(Expression.java:93)
[INFO] [talledLocalContainer] 	at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
[INFO] [talledLocalContainer] 	at freemarker.core.Environment.visit(Environment.java:221)
[INFO] [talledLocalContainer] 	at freemarker.core.MixedContent.accept(MixedContent.java:92)
[INFO] [talledLocalContainer] 	at freemarker.core.Environment.visit(Environment.java:221)
Comment by Roman Kovařík [ 30/Apr/14 ]

info.magnolia.module.backup.pages.BackupPage.getTasks() originally returns Collection<Content>.
I put back deprecated code of this method to preserve binary compatibility.
This method (whole class) is not part of Backup Module >= 1.5

Generated at Sun Feb 11 23:25:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.