Bug 727627
| Summary: | Cannot navigate to sync page after starting a sync | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Corey Welton <cwelton> |
| Component: | WebUI | Assignee: | Shannon Hughes <shughes> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 | CC: | jweiss, mmccune, sghai, shughes |
| Target Milestone: | Unspecified | Keywords: | Regression, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-22 17:51:30 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: | 747354 | ||
|
Description
Corey Welton
2011-08-02 16:13:54 UTC
*** Bug 727674 has been marked as a duplicate of this bug. *** Fixed in 11623e48fceb9d9af60d9b39fd6bf46ed8e4080b
commit 11623e48fceb9d9af60d9b39fd6bf46ed8e4080b
Author: Mike McCune <mmccune>
Date: Mon Aug 15 11:29:08 2011 -0700
switching to a simpler string substitution that wont blow up on nil
diff --git a/src/app/helpers/translation_helper.rb b/src/app/helpers/translation_helper.rb
index c49c16b..241aa5e 100644
--- a/src/app/helpers/translation_helper.rb
+++ b/src/app/helpers/translation_helper.rb
@@ -12,11 +12,7 @@
module TranslationHelper
def relative_time_in_words(time)
- begin
- _("%{relative_time} ago") % {:relative_time => time_ago_in_words(time)}
- rescue NoMethodError => e
- Rails.logger.error "Error converting to relative_time_in_words: " + e
- end
+ _("%s ago") % time_ago_in_words(time)
end
Verified with latest katello build: [root@dhcp201-207 ~]# rpm -qa | grep katello katello-0.1.64-1.git.0.0b431ff.fc15.noarch [root@dhcp201-207 ~]# I started a repo sync. After few minutes, I navigate to "provider" tab and then navigate back to sync UI tab, didn't see any error on UI. To confirm, I directly navigated to system tab and then back sync UI, this time again reported error was not reproducible. |