Bug 790417 - $env variable in content url is replaced with env_id instead of environment name
Summary: $env variable in content url is replaced with env_id instead of environment name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: candlepin-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 787829 789034
TreeView+ depends on / blocked
 
Reported: 2012-02-14 13:19 UTC by Ivan Necas
Modified: 2019-06-12 14:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-17 13:03:51 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.