[BACKUPX-3] Java Stacktrace when selecting frequency for backup Created: 04/Aug/23  Updated: 08/Aug/23  Resolved: 08/Aug/23

Status: Closed
Project: Backup Extended
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0.1

Type: Bug Priority: Neutral
Reporter: Martijn Kooijman Assignee: Richard Gange
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 2.5h
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:
Work Started:

 Description   

Reproduce

  1. Select "schedule backup"
  2. Enter a date
  3. Select any frequency

Expected
No errors

Actual

Caused by: java.lang.ClassCastException: class info.magnolia.ui.datasource.optionlist.Option$ByteBuddy$ZN4JtLiS cannot be cast to class java.util.Collection (info.magnolia.ui.datasource.optionlist.Option$ByteBuddy$ZN4JtLiS is in unnamed module of loader net.bytebuddy.dynamic.loading.ByteArrayClassLoader @49ea5180; java.util.Collection is in module java.base of loader 'bootstrap')
    at info.magnolia.module.backup.action.CreateBackupAction.getFrequency(CreateBackupAction.java:154) ~[magnolia-module-backup-extended-ui-1.0.jar:?] 


 Comments   
Comment by Richard Gange [ 08/Aug/23 ]

Hello Martijn-

Thanks for letting me know. Not sure how that slipped by my testing. In any case I have released 1.0.1 which should fix the issue.

Cheers
RIch

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