Bug 790417

Summary: $env variable in content url is replaced with env_id instead of environment name
Product: [Community] Candlepin Reporter: Ivan Necas <inecas>
Component: candlepinAssignee: candlepin-bugs
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.5CC: bcourt, dgoodwin, redakkan, skallesh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-17 13:03:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 787829, 789034    

Description Ivan Necas 2012-02-14 13:19:14 UTC
Description of problem:
When having url with $env, Katello expects it to be replaced with evironment name. Candlepin replaces it with environment id.

Comment 1 Devan Goodwin 2012-02-14 16:53:32 UTC
Fixed in candlepin.git master: b5841d7835c13cca2d5615839be82b1197e6ad69

Env name will be URLEncoded (UTF-8) and replaced in for any occurances of $env
in the owner's contentPrefix. 

As discussed on IRC, important caveat, the env name cannot change as this will
break all content URLs.

Comment 2 Bryan Kearney 2012-07-17 13:03:51 UTC
Marking all community bugs modified or beyong as closed.