Project

General

Profile

Actions

Bug #8597

closed

Foreman 1.7.0 Issue with partition table names and "/" characters

Added by Martin Zimmermann almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

foreman-debug-GlFD6.tar.xz foreman-debug-GlFD6.tar.xz 213 KB Martin Zimmermann, 12/05/2014 11:46 AM
screenshot_1.PNG View screenshot_1.PNG 44.4 KB Error Message Frontend Martin Zimmermann, 12/05/2014 11:47 AM
screenshot_0.PNG View screenshot_0.PNG 111 KB Martin Zimmermann, 12/05/2014 11:47 AM

Related issues 6 (0 open6 closed)

Related to Foreman - Feature #4386: implement gem friendly_id to simply find by id, name, label, etcClosedJoseph Magen02/19/2014Actions
Related to Foreman - Bug #10545: Allow Dots in ptables urlDuplicate05/19/201505/19/2015Actions
Has duplicate Foreman - Bug #8654: Hardware model with '/' or '.' in name causes 'page does not exist'Duplicate12/10/2014Actions
Has duplicate Foreman - Bug #9663: URL Encoding not working when items have "/" in their nameDuplicate03/05/2015Actions
Has duplicate Foreman - Bug #10104: Partition tables with a slash in their name cannot be openedDuplicate04/09/2015Actions
Has duplicate Foreman - Bug #10991: Can't view or remove partition table containing / in the nameDuplicate07/02/2015Actions
Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Related to Feature #4386: implement gem friendly_id to simply find by id, name, label, etc added
Actions #2

Updated by Dominic Cleal almost 10 years ago

  • Category set to Web Interface
Actions #3

Updated by Tom Caspy almost 10 years ago

  • Assignee set to Tom Caspy
Actions #4

Updated by The Foreman Bot almost 10 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2001 added
  • Pull request deleted ()
Actions #5

Updated by Dominic Cleal almost 10 years ago

  • Has duplicate Bug #8654: Hardware model with '/' or '.' in name causes 'page does not exist' added
Actions #6

Updated by Dominic Cleal over 9 years ago

  • Has duplicate Bug #9663: URL Encoding not working when items have "/" in their name added
Actions #7

Updated by Dominic Cleal over 9 years ago

  • Has duplicate Bug #10104: Partition tables with a slash in their name cannot be opened added
Actions #8

Updated by Diogo Ferreira over 9 years ago

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'
Actions #9

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #10545: Allow Dots in ptables url added
Actions #10

Updated by Dominic Cleal over 9 years ago

  • Translation missing: en.field_release set to 56
Actions #11

Updated by Tom Caspy over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #12

Updated by Dominic Cleal over 9 years ago

  • Has duplicate Bug #10991: Can't view or remove partition table containing / in the name added
Actions #13

Updated by Marek Hulán over 7 years ago

  • Bugzilla link set to 1304245
Actions

Also available in: Atom PDF