[GitLab nightly] Cycle analytic won't show with French translation
Summary
Cycle analytic won't show when using the French translation.
Steps to reproduce
- Using a GitLab docker instance, using the "nightly" tag (gitlab/gitlab-ce:nightly)
- Change preferred language to "Français"
- Go to the Cycle Analytic page on any project
What is the current bug behavior?
The browser show a partial cycle analytic page, with an error message.
What is the expected correct behavior?
This browser should show the Cycle Analytic page, translated in french.
Relevant logs and/or screenshots
Container logs :
19/07/2017 13:34:35Started GET "/dremor/test/cycle_analytics" for 10.42.135.212 at 2017-07-19 11:34:35 +0000
19/07/2017 13:34:35Processing by Projects::CycleAnalyticsController#show as HTML
19/07/2017 13:34:35 Parameters: {"namespace_id"=>"dremor", "project_id"=>"test"}
19/07/2017 13:34:35==> /var/log/gitlab/unicorn/unicorn_stderr.log <==
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Commit duration in minutes for last 30 commits'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Commit message'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'CommitBoxTitle|Commit'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'CommitMessage|Add %{file_name}'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Commits'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Commits feed'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Commits|History'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Committed by'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Create merge request'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'DownloadCommit|Email Patches'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'DownloadCommit|Plain Diff'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Every day (at 4:00am)'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Every week (Sundays at 4:00am)'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'New issue'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Pipelines charts'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Pipeline|all'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Readme'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Timeago|%s days ago'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Timeago|%s days remaining'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Timeago|1 day remaining'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Timeago|a day ago'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Timeago|in %s days'
19/07/2017 13:34:35Warning: fuzzy message was used.
19/07/2017 13:34:35 : msgid 'Timeago|in 1 day'
19/07/2017 13:34:35==> /var/log/gitlab/gitlab-rails/production.log <==
19/07/2017 13:34:35Completed 200 OK in 437ms (Views: 314.9ms | ActiveRecord: 21.6ms)
19/07/2017 13:34:35==> /var/log/gitlab/gitlab-workhorse/current <==
19/07/2017 13:34:352017-07-19_11:34:35.84070 antares.dremor.info @ - - [2017-07-19 11:34:35.328851434 +0000 UTC] "GET /dremor/test/cycle_analytics HTTP/1.1" 200 32163 "https://antares.dremor.info/dremor/test" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" 0.511795
19/07/2017 13:34:35==> /var/log/gitlab/nginx/gitlab_access.log <==
19/07/2017 13:34:3510.42.135.212 - - [19/Jul/2017:11:34:35 +0000] "GET /dremor/test/cycle_analytics HTTP/1.1" 200 9923 "https://antares.dremor.info/dremor/test" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0"
19/07/2017 13:34:36==> /var/log/gitlab/gitlab-workhorse/current <==
19/07/2017 13:34:362017-07-19_11:34:36.00495 2017/07/19 11:34:36 Send static file "/opt/gitlab/embedded/service/gitlab-rails/public/assets/application-056f2d75f236f581d91c768cb96af5f8f8dba9503ccc36f8e26f4834aef7bc15.css" ("gzip") for GET "/assets/application-056f2d75f236f581d91c768cb96af5f8f8dba9503ccc36f8e26f4834aef7bc15.css"
19/07/2017 13:34:36==> /var/log/gitlab/nginx/gitlab_access.log <==
19/07/2017 13:34:3610.42.135.212 - - [19/Jul/2017:11:34:36 +0000] "GET /assets/application-056f2d75f236f581d91c768cb96af5f8f8dba9503ccc36f8e26f4834aef7bc15.css HTTP/1.1" 304 0 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0"
19/07/2017 13:34:36==> /var/log/gitlab/gitlab-workhorse/current <==
19/07/2017 13:34:362017-07-19_11:34:36.00520 antares.dremor.info @ - - [2017-07-19 11:34:36.004833025 +0000 UTC] "GET /assets/application-056f2d75f236f581d91c768cb96af5f8f8dba9503ccc36f8e26f4834aef7bc15.css HTTP/1.1" 200 119466 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" 0.000285
19/07/2017 13:34:362017-07-19_11:34:36.02649 2017/07/19 11:34:36 Send static file "/opt/gitlab/embedded/service/gitlab-rails/public/assets/print-87b4ace0db1f79d91e4fe6e74435b66b71d70fee57ffbb72d0fade17374fcc6b.css" ("gzip") for GET "/assets/print-87b4ace0db1f79d91e4fe6e74435b66b71d70fee57ffbb72d0fade17374fcc6b.css"
19/07/2017 13:34:362017-07-19_11:34:36.02665 antares.dremor.info @ - - [2017-07-19 11:34:36.026377463 +0000 UTC] "GET /assets/print-87b4ace0db1f79d91e4fe6e74435b66b71d70fee57ffbb72d0fade17374fcc6b.css HTTP/1.1" 200 348 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" 0.000216
19/07/2017 13:34:36==> /var/log/gitlab/nginx/gitlab_access.log <==
19/07/2017 13:34:3610.42.135.212 - - [19/Jul/2017:11:34:36 +0000] "GET /assets/print-87b4ace0db1f79d91e4fe6e74435b66b71d70fee57ffbb72d0fade17374fcc6b.css HTTP/1.1" 200 348 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0"
19/07/2017 13:34:36==> /var/log/gitlab/gitlab-workhorse/current <==
19/07/2017 13:34:362017-07-19_11:34:36.05196 2017/07/19 11:34:36 Send static file "/opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/cycle_analytics.2504f74bcd8a45842d6b.bundle.js" ("gzip") for GET "/assets/webpack/cycle_analytics.2504f74bcd8a45842d6b.bundle.js"
19/07/2017 13:34:36==> /var/log/gitlab/nginx/gitlab_access.log <==
19/07/2017 13:34:3610.42.135.212 - - [19/Jul/2017:11:34:36 +0000] "GET /assets/webpack/cycle_analytics.2504f74bcd8a45842d6b.bundle.js HTTP/1.1" 200 5763 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0"
19/07/2017 13:34:36==> /var/log/gitlab/gitlab-workhorse/current <==
19/07/2017 13:34:362017-07-19_11:34:36.05228 antares.dremor.info @ - - [2017-07-19 11:34:36.051841127 +0000 UTC] "GET /assets/webpack/cycle_analytics.2504f74bcd8a45842d6b.bundle.js HTTP/1.1" 200 5744 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" 0.000296
19/07/2017 13:34:362017-07-19_11:34:36.05229 2017/07/19 11:34:36 Send static file "/opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/webpack_runtime.8411d23a5febf770c92c.bundle.js" ("gzip") for GET "/assets/webpack/webpack_runtime.8411d23a5febf770c92c.bundle.js"
19/07/2017 13:34:362017-07-19_11:34:36.05232 antares.dremor.info @ - - [2017-07-19 11:34:36.052156344 +0000 UTC] "GET /assets/webpack/webpack_runtime.8411d23a5febf770c92c.bundle.js HTTP/1.1" 200 1993 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" 0.000099
19/07/2017 13:34:36==> /var/log/gitlab/nginx/gitlab_access.log <==
19/07/2017 13:34:3610.42.135.212 - - [19/Jul/2017:11:34:36 +0000] "GET /assets/webpack/webpack_runtime.8411d23a5febf770c92c.bundle.js HTTP/1.1" 304 0 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0"
19/07/2017 13:34:36==> /var/log/gitlab/gitlab-workhorse/current <==
19/07/2017 13:34:362017-07-19_11:34:36.05795 2017/07/19 11:34:36 Send static file "/opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/common.d54d8bdbd38011ea3f5d.bundle.js" ("gzip") for GET "/assets/webpack/common.d54d8bdbd38011ea3f5d.bundle.js"
19/07/2017 13:34:362017-07-19_11:34:36.05873 antares.dremor.info @ - - [2017-07-19 11:34:36.057853387 +0000 UTC] "GET /assets/webpack/common.d54d8bdbd38011ea3f5d.bundle.js HTTP/1.1" 200 88369 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" 0.000302
19/07/2017 13:34:36==> /var/log/gitlab/nginx/gitlab_access.log <==
19/07/2017 13:34:3610.42.135.212 - - [19/Jul/2017:11:34:36 +0000] "GET /assets/webpack/common.d54d8bdbd38011ea3f5d.bundle.js HTTP/1.1" 200 88546 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0"
19/07/2017 13:34:36==> /var/log/gitlab/gitlab-workhorse/current <==
19/07/2017 13:34:362017-07-19_11:34:36.05986 2017/07/19 11:34:36 Send static file "/opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/locale.c29c1ec913383646056a.bundle.js" ("gzip") for GET "/assets/webpack/locale.c29c1ec913383646056a.bundle.js"
19/07/2017 13:34:362017-07-19_11:34:36.06004 antares.dremor.info @ - - [2017-07-19 11:34:36.059764424 +0000 UTC] "GET /assets/webpack/locale.c29c1ec913383646056a.bundle.js HTTP/1.1" 200 47887 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" 0.000242
19/07/2017 13:34:36==> /var/log/gitlab/nginx/gitlab_access.log <==
19/07/2017 13:34:3610.42.135.212 - - [19/Jul/2017:11:34:36 +0000] "GET /assets/webpack/locale.c29c1ec913383646056a.bundle.js HTTP/1.1" 200 47985 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0"
19/07/2017 13:34:36==> /var/log/gitlab/gitlab-workhorse/current <==
19/07/2017 13:34:362017-07-19_11:34:36.06176 2017/07/19 11:34:36 Send static file "/opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/main.3c9ff2b7e5ff5d76c2b8.bundle.js" ("gzip") for GET "/assets/webpack/main.3c9ff2b7e5ff5d76c2b8.bundle.js"
19/07/2017 13:34:36==> /var/log/gitlab/nginx/gitlab_access.log <==
19/07/2017 13:34:3610.42.135.212 - - [19/Jul/2017:11:34:36 +0000] "GET /assets/webpack/main.3c9ff2b7e5ff5d76c2b8.bundle.js HTTP/1.1" 304 0 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0"
19/07/2017 13:34:36==> /var/log/gitlab/gitlab-workhorse/current <==
19/07/2017 13:34:362017-07-19_11:34:36.06192 antares.dremor.info @ - - [2017-07-19 11:34:36.061697045 +0000 UTC] "GET /assets/webpack/main.3c9ff2b7e5ff5d76c2b8.bundle.js HTTP/1.1" 200 102392 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" 0.000194
19/07/2017 13:34:362017-07-19_11:34:36.06446 2017/07/19 11:34:36 Send static file "/opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/common_vue.2f90f4bfb86b67554158.bundle.js" ("gzip") for GET "/assets/webpack/common_vue.2f90f4bfb86b67554158.bundle.js"
19/07/2017 13:34:362017-07-19_11:34:36.06467 antares.dremor.info @ - - [2017-07-19 11:34:36.064378922 +0000 UTC] "GET /assets/webpack/common_vue.2f90f4bfb86b67554158.bundle.js HTTP/1.1" 200 38179 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" 0.000231
19/07/2017 13:34:36==> /var/log/gitlab/nginx/gitlab_access.log <==
19/07/2017 13:34:3610.42.135.212 - - [19/Jul/2017:11:34:36 +0000] "GET /assets/webpack/common_vue.2f90f4bfb86b67554158.bundle.js HTTP/1.1" 200 38261 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0"
19/07/2017 13:34:36==> /var/log/gitlab/gitlab-workhorse/current <==
19/07/2017 13:34:362017-07-19_11:34:36.97905 2017/07/19 11:34:36 Send static file "/opt/gitlab/embedded/service/gitlab-rails/public/assets/webpack/emoji.5dd6c6742df63f581cb0.chunk.js" ("gzip") for GET "/assets/webpack/emoji.5dd6c6742df63f581cb0.chunk.js"
19/07/2017 13:34:362017-07-19_11:34:36.97935 antares.dremor.info @ - - [2017-07-19 11:34:36.978922237 +0000 UTC] "GET /assets/webpack/emoji.5dd6c6742df63f581cb0.chunk.js HTTP/1.1" 200 97347 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" 0.000355
19/07/2017 13:34:36==> /var/log/gitlab/nginx/gitlab_access.log <==
19/07/2017 13:34:3610.42.135.212 - - [19/Jul/2017:11:34:36 +0000] "GET /assets/webpack/emoji.5dd6c6742df63f581cb0.chunk.js HTTP/1.1" 200 97540 "https://antares.dremor.info/dremor/test/cycle_analytics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0"
19/07/2017 13:34:36==> /var/log/gitlab/gitlab-rails/production.log <==
19/07/2017 13:34:36Started GET "/dremor/test/cycle_analytics?cycle_analytics%5Bstart_date%5D=30" for 10.42.135.212 at 2017-07-19 11:34:36 +0000
19/07/2017 13:34:36Processing by Projects::CycleAnalyticsController#show as JSON
19/07/2017 13:34:36 Parameters: {"cycle_analytics"=>{"start_date"=>"30"}, "namespace_id"=>"dremor", "project_id"=>"test", "cycle_analytic"=>{}}
19/07/2017 13:34:37Completed 500 Internal Server Error in 28ms (ActiveRecord: 9.6ms)
19/07/2017 13:34:37NoMethodError (undefined method `>' for nil:NilClass):
19/07/2017 13:34:37 lib/gitlab/cycle_analytics/summary/commit.rb:6:in `title'
19/07/2017 13:34:37 app/serializers/base_serializer.rb:11:in `represent'
19/07/2017 13:34:37 lib/gitlab/cycle_analytics/stage_summary.rb:19:in `serialize'
19/07/2017 13:34:37 lib/gitlab/cycle_analytics/stage_summary.rb:12:in `data'
19/07/2017 13:34:37 app/models/cycle_analytics.rb:12:in `summary'
19/07/2017 13:34:37 app/controllers/projects/cycle_analytics_controller.rb:29:in `cycle_analytics_json'
19/07/2017 13:34:37 app/controllers/projects/cycle_analytics_controller.rb:15:in `block (2 levels) in show'
19/07/2017 13:34:37 app/controllers/projects/cycle_analytics_controller.rb:13:in `show'
19/07/2017 13:34:37 lib/gitlab/i18n.rb:42:in `with_locale'
19/07/2017 13:34:37 lib/gitlab/i18n.rb:48:in `with_user_locale'
19/07/2017 13:34:37 app/controllers/application_controller.rb:294:in `set_locale'
19/07/2017 13:34:37 lib/gitlab/performance_bar/peek_performance_bar_with_rack_body.rb:16:in `call'
19/07/2017 13:34:37 lib/gitlab/middleware/multipart.rb:93:in `call'
19/07/2017 13:34:37 lib/gitlab/request_profiler/middleware.rb:14:in `call'
19/07/2017 13:34:37 lib/gitlab/middleware/go.rb:16:in `call'
19/07/2017 13:34:37 lib/gitlab/etag_caching/middleware.rb:11:in `call'
19/07/2017 13:34:37 lib/gitlab/request_context.rb:18:in `call'
19/07/2017 13:34:37 lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call'
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Current User: git Using RVM: no Ruby Version: 2.3.3p222 Gem Version: 2.6.6 Bundler Version:1.13.7 Rake Version: 10.5.0 Redis Version: 3.2.5 Git Version: 2.13.0 Sidekiq Version:5.0.4 Go Version: unknownGitLab information Version: 9.4.0-pre Revision: 2abb40f Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://antares.dremor.info HTTP Clone URL: https://antares.dremor.info/some-group/some-project.git SSH Clone URL: git@antares.dremor.info:some-group/some-project.git Using LDAP: no Using Omniauth: no
GitLab Shell Version: 5.3.1 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab Shell ...GitLab Shell version >= 5.3.1 ? ... OK (5.3.1) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 1/1 ... repository is empty Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Access to /var/opt/gitlab/.ssh/authorized_keys: OK Send ping to redis server: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... skipped (no tmp uploads folde r yet) Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 1/1 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.3 ? ... yes (2.3.3) Git version >= 2.7.3 ? ... yes (2.13.0) Active users: ... 1
Checking GitLab ... Finished