Bug #8597
closed
Foreman 1.7.0 Issue with partition table names and "/" characters
Added by Martin Zimmermann about 10 years ago.
Updated over 6 years ago.
Description
I've created a new partition table named "AutoYast /dev/sda" by using the Foreman 1.7.0 GUI (menu item Hosts -> Partition Table -> New Partition Table). The partition table was created successfully, however it was not possible to open/edit/delete the entry afterwards ... instead the following error messages appeared:
"The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved."
Error message /var/log/foreman/production.log:
Started GET "/ptables/AutoYaST%20/dev/sda/edit" for 10.0.2.2 at 2014-12-03 22:06:16 +0100
ActionController::RoutingError (No route matches [GET] "/ptables/AutoYaST%20/dev/sda/edit"):
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'
Files
- Related to Feature #4386: implement gem friendly_id to simply find by id, name, label, etc added
- Category set to Web Interface
- Assignee set to Tom Caspy
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2001 added
- Pull request deleted (
)
- Has duplicate Bug #8654: Hardware model with '/' or '.' in name causes 'page does not exist' added
- Has duplicate Bug #9663: URL Encoding not working when items have "/" in their name added
- Has duplicate Bug #10104: Partition tables with a slash in their name cannot be opened added
Error also occurs when using "." in the name:
> /var/log/foreman/production.log <
2015-05-14 10:16:32 [F]
ActionController::RoutingError (No route matches [GET] "/ptables/Kickstart%20Centos%207.1/edit"):
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'
- Related to Bug #10545: Allow Dots in ptables url added
- Translation missing: en.field_release set to 56
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Has duplicate Bug #10991: Can't view or remove partition table containing / in the name added
- Bugzilla link set to 1304245
Also available in: Atom
PDF