Ticket #254 (closed defect: fixed)
Small bugs in eBox backup module
| Reported by: | ejhernandez@… | Owned by: | javier.amor.garcia@… |
|---|---|---|---|
| Milestone: | 0.8 | Component: | backup |
| Severity: | minor | Keywords: | bug |
| Cc: | hblanco@… |
Description (last modified by ejhernandez@…) (diff)
I've just checking the functionality from eBox client with new backup section and I found the following bugs:
When I run configure, no check about Readonly availability is done. Therefore eBox does NOT work if Readonly perl package is NOT installed.Delete icon in backup list is shown underneath remainder modules.1. Making a restore when "cdrecord" is missing or an attempt to restore a full backup with configuration restore from the backup list gives the following result:[error] Attempt to reassign a readonly scalar at /usr/share/perl5/EBox/Backup/RootCommands.pm line 10 Compilation failed in require at /usr/share/perl5/EBox/Backup/OpticalDiscDrives.pm line 12. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Backup/OpticalDiscDrives.pm line 12. Compilation failed in require at /usr/share/perl5/Apache/Reload.pm line 140.
- An attempt to restore a full backup with both restore modes from a file gives the following result:
INFO> Base.pm:165 EBox::CGI::Base::_checkForbiddenChars - Invalid characters in param value %2Fvar%2Flib%2Febox%2Ftmp%2Fbackupt55KrW. DEBUG> Base.pm:167 EBox::CGI::Base::_checkForbiddenChars - The input contains invalid characters. All alphanumeric characters, plus these non alphanumeric chars: /.?&+:-@ and spaces are allowed.
Attachments
Change History
comment:1 Changed 7 years ago by ejhernandez@…
- Owner changed from javier.amor.garcia@… to ejhernandez@…
- Status changed from new to assigned
comment:3 Changed 7 years ago by ejhernandez@…
- hours changed from 0.0 to 0.25
- totalhours changed from 0.0 to 0.25
- Description modified (diff)
Fixed 1st bug in [5693].
comment:5 Changed 7 years ago by ejhernandez@…
- Owner changed from ejhernandez@… to javier.amor.garcia@…
- Status changed from assigned to new
- Description modified (diff)
Fixed 2nd bug in [5694].
comment:6 Changed 7 years ago by ejhernandez@…
- Description modified (diff)
Updating wiki formatting.
comment:7 Changed 7 years ago by anonymous
THe first bug is invalid. Readonly must be checked in libebox not here. I will revert [5693] the next monday.
The second bug was originally fixed in css changing the width attribute; maybe is a better solution
The third has arose other times when installing Readonly and Readonly:XS. eBox needs to be restart after installing those two modules or it will be messing up thing due to mod-perl module persistence.
I will fix the fourth the next monday
-- Javier
comment:8 Changed 7 years ago by ejhernandez@…
- Owner changed from javier.amor.garcia@… to ejhernandez@…
- Status changed from new to assigned
comment:9 Changed 7 years ago by ejhernandez@…
- Description modified (diff)
3rd is NOT possible to reproduce since it only happens when you're first install Readonly in an upgraded eBox version. Since Readonly is required in eBox restarting, error can be workaround with an eBox restarting as Javier said above.
comment:11 Changed 7 years ago by ejhernandez@…
- Description modified (diff)
More information added from 4th bug
comment:12 Changed 7 years ago by ejhernandez@…
- Owner changed from ejhernandez@… to javier.amor.garcia@…
- Status changed from assigned to new
comment:13 Changed 7 years ago by javier.amor.garcia@…
comment:14 Changed 7 years ago by javier.amor.garcia@…
- Status changed from new to closed
- Resolution set to fixed
comment:15 Changed 7 years ago by ejhernandez@…
- hours changed from 0.0 to 2.25
- totalhours changed from 0.25 to 2.5
My spent time
comment:16 Changed 7 years ago by javier.amor.garcia@…
- hours changed from 0.0 to 1.5
- totalhours changed from 2.5 to 4.0
I'm gonna try to solve them