{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4194","repository_url":"https://api.github.com/repos/jhipster/generator-jhipster","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4194/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4194/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4194/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/4194","id":178686311,"number":4194,"title":"Gulp test failed  and PhantomJS with problema to run application on production","user":{"login":"israeleriston","id":10285100,"avatar_url":"https://avatars.githubusercontent.com/u/10285100?v=3","gravatar_id":"","url":"https://api.github.com/users/israeleriston","html_url":"https://github.com/israeleriston","followers_url":"https://api.github.com/users/israeleriston/followers","following_url":"https://api.github.com/users/israeleriston/following{/other_user}","gists_url":"https://api.github.com/users/israeleriston/gists{/gist_id}","starred_url":"https://api.github.com/users/israeleriston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/israeleriston/subscriptions","organizations_url":"https://api.github.com/users/israeleriston/orgs","repos_url":"https://api.github.com/users/israeleriston/repos","events_url":"https://api.github.com/users/israeleriston/events{/privacy}","received_events_url":"https://api.github.com/users/israeleriston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-22T18:32:00Z","updated_at":"2016-09-22T20:15:06Z","closed_at":null,"body":"<!--\r\n> Please follow the issue template below for bug reports and queries.\r\n> Bug reports or queries opened without any of these info will be **closed** without any explanation.\r\n> For feature requests, label the title with [FEATURE] and explain your use case and ideas clearly below, you can remove sections which are not relevant.\r\n> For bug reports your `.yo-rc.json` file is mandatory else we will close the issue.\r\n> You can run `yo jhipster:info` in your project folder to get most of the required info\r\n-->\r\n\r\n##### **Overview of the issue**\r\n#4192 \r\n<!-- explain the issue or feature request, if an error is being thrown a stack trace helps -->\r\n\r\n##### **Motivation for or Use Case**\r\n\r\n<!-- explain why this is a bug for you -->\r\nto climb the application is presenting another problem, that were resolved in ticket # 4192, but when trying to run the application again, this problem presented with Activationcontroller that can not pass the key parameters for\r\n\r\n\r\n\r\n##### **Reproduce the error**\r\n[INFO] [13:19:04] gulp-inject 22 files into karma.conf.js.\r\n[INFO] [13:19:04] Finished 'inject:test' after 158 ms\r\n[INFO] [13:19:04] Starting 'test'...\r\n[INFO] \u001B[32m22 09 2016 13:19:09.046:INFO [karma]: \u001B[39mKarma v1.1.2 server started at http://localhost:9876/\r\n[INFO] \u001B[32m22 09 2016 13:19:09.048:INFO [launcher]: \u001B[39mLaunching browser PhantomJS with unlimited concurrency\r\n[INFO] \u001B[32m22 09 2016 13:19:09.054:INFO [launcher]: \u001B[39mStarting browser PhantomJS\r\n[INFO] \u001B[32m22 09 2016 13:19:09.331:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: \u001B[39mConnected on socket /#ZmafvqLUA58w4oicAAAA with id 52267336\r\n[INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 0 of 62 SUCCESS (0 secs / 0 secs)\r\n[INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests ActivationController calls Auth.activateAccount with the key from stateParams FAILED\r\n[INFO] \tsrc/main/webapp/bower_components/angular/angular.js:9:139670\r\n[INFO] \tforEach@src/main/webapp/bower_components/angular/angular.js:9:7145\r\n[INFO] \tloadModules@src/main/webapp/bower_components/angular/angular.js:9:136881\r\n[INFO] \tcreateInjector@src/main/webapp/bower_components/angular/angular.js:9:132287\r\n[INFO] \tworkFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942\r\n[INFO] \tinject@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:156451\r\n[INFO] \tmockApiAccountCall@src/test/javascript/spec/helpers/httpBackend.js:9:113\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] \tsrc/main/webapp/bower_components/angular/angular.js:9:139670\r\n[INFO] \tforEach@src/main/webapp/bower_components/angular/angular.js:9:7145\r\n[INFO] \tloadModules@src/main/webapp/bower_components/angular/angular.js:9:136881\r\n[INFO] \tcreateInjector@src/main/webapp/bower_components/angular/angular.js:9:132287\r\n[INFO] \tworkFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942\r\n[INFO] \tinject@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:156451\r\n[INFO] \tmockI18nCalls@src/test/javascript/spec/helpers/httpBackend.js:9:375\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] \tsrc/main/webapp/bower_components/angular/angular.js:9:139670\r\n[INFO] \tforEach@src/main/webapp/bower_components/angular/angular.js:9:7145\r\n[INFO] \tloadModules@src/main/webapp/bower_components/angular/angular.js:9:136881\r\n[INFO] \tcreateInjector@src/main/webapp/bower_components/angular/angular.js:9:132287\r\n[INFO] \tworkFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] \tTypeError: undefined is not an object (evaluating 'MockAuth.activateAccount') in src/test/javascript/spec/app/account/activate/activate.controller.spec.js (line 9)\r\n[INFO] \tsrc/test/javascript/spec/app/account/activate/activate.controller.spec.js:9:2014\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] \u001B[1A\u001B[2KPhantomJS 2.1.1 (Linux 0.0.0) Controller Tests ActivationController calls Auth.activateAccount with the key from stateParams FAILED\r\n[INFO] \tsrc/main/webapp/bower_components/angular/angular.js:9:139670\r\n[INFO] \tforEach@src/main/webapp/bower_components/angular/angular.js:9:7145\r\n[INFO] \tloadModules@src/main/webapp/bower_components/angular/angular.js:9:136881\r\n[INFO] \tcreateInjector@src/main/webapp/bower_components/angular/angular.js:9:132287\r\n[INFO] \tworkFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942\r\n[INFO] \tinject@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:156451\r\n[INFO] \tmockApiAccountCall@src/test/javascript/spec/helpers/httpBackend.js:9:113\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] \tsrc/main/webapp/bower_components/angular/angular.js:9:139670\r\n[INFO] \tforEach@src/main/webapp/bower_components/angular/angular.js:9:7145\r\n[INFO] \tloadModules@src/main/webapp/bower_components/angular/angular.js:9:136881\r\n[INFO] \tcreateInjector@src/main/webapp/bower_components/angular/angular.js:9:132287\r\n[INFO] \tworkFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942\r\n[INFO] \tinject@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:156451\r\n[INFO] \tmockI18nCalls@src/test/javascript/spec/helpers/httpBackend.js:9:375\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] \tsrc/main/webapp/bower_components/angular/angular.js:9:139670\r\n[INFO] \tforEach@src/main/webapp/bower_components/angular/angular.js:9:7145\r\n[INFO] \tloadModules@src/main/webapp/bower_components/angular/angular.js:9:136881\r\n[INFO] \tcreateInjector@src/main/webapp/bower_components/angular/angular.js:9:132287\r\n[INFO] \tworkFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] \tTypeError: undefined is not an object (evaluating 'MockAuth.activateAccount') in src/test/javascript/spec/app/account/activate/activate.controller.spec.js (line 9)\r\n[INFO] \tsrc/test/javascript/spec/app/account/activate/activate.controller.spec.js:9:2014\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 1 of 62 (1 FAILED) (0 secs / 0.048 secs)\r\n[INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests ActivationController should set set success to OK upon successful activation FAILED\r\n[INFO] \tsrc/main/webapp/bower_components/angular/angular.js:9:139670\r\n\r\n\r\n\r\n\r\n\r\nsrc/test/javascript/spec/app/account/activate/activate.controller.spec.js (line 9)\r\n[INFO] \tsrc/test/javascript/spec/app/account/activate/activate.controller.spec.js:9:2440\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] \u001B[1A\u001B[2KPhantomJS 2.1.1 (Linux 0.0.0) Controller Tests ActivationController should set set success to OK upon successful activation FAILED\r\n[INFO] \tsrc/main/webapp/bower_components/angular/angular.js:9:139670\r\n[INFO] \tforEach@src/main/webapp/bower_components/angular/angular.js:9:7145\r\n[INFO] \tloadModules@src/main/webapp/bower_components/angular/angular.js:9:136881\r\n[INFO] \tcreateInjector@src/main/webapp/bower_components/angular/angular.js:9:132287\r\n[INFO] \tworkFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942\r\n[INFO] \tinject@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:156451\r\n[INFO] \tmockApiAccountCall@src/test/javascript/spec/helpers/httpBackend.js:9:113\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] \tsrc/main/webapp/bower_components/angular/angular.js:9:139670\r\n[INFO] \tforEach@src/main/webapp/bower_components/angular/angular.js:9:7145\r\n[INFO] \tloadModules@src/main/webapp/bower_components/angular/angular.js:9:136881\r\n[INFO] \tcreateInjector@src/main/webapp/bower_components/angular/angular.js:9:132287\r\n[INFO] \tworkFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942\r\n[INFO] \tinject@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:156451\r\n[INFO] \tmockI18nCalls@src/test/javascript/spec/helpers/httpBackend.js:9:375\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] \tsrc/main/webapp/bower_components/angular/angular.js:9:139670\r\n[INFO] \tforEach@src/main/webapp/bower_components/angular/angular.js:9:7145\r\n[INFO] \tloadModules@src/main/webapp/bower_components/angular/angular.js:9:136881\r\n[INFO] \tcreateInjector@src/main/webapp/bower_components/angular/angular.js:9:132287\r\n[INFO] \tworkFn@src/main/webapp/bower_components/angular-mocks/angular-mocks.js:9:157942\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] \tTypeError: undefined is not an object (evaluating 'MockAuth.activateAccount') in src/test/javascript/spec/app/account/activate/activate.controller.spec.js (line 9)\r\n[INFO] \tsrc/test/javascript/spec/app/account/activate/activate.controller.spec.js:9:2440\r\n[INFO] \tloaded@http://localhost:9876/context.js:151:17\r\n[INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 2 of 62 (2 FAILED) (0 secs / 0.069 secs)\r\n[INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests ActivationController should set set error to ERROR upon activation failure FAILED\r\n[INFO] \tsrc/main/webapp/bower_components/angular/angular.js:9:139670\r\n[INFO] \tforEach@src/main/webapp/bower_components/angular/angular.js:9:7145\r\n\r\n\r\n\r\n[INFO] \tsrc/test/javascript/spec/app/admin/health/health.controller.spec.js:9:3059\r\n[INFO] PhantomJS 2.1.1 (Linux 0.0.0): Executed 28 of 62 (28 FAILED) (0 secs / 0.731 secs)\r\n[INFO] PhantomJS 2.1.1 (Linux 0.0.0) Controller Tests JhiHealthCheckController baseName and subSystemName should return the subsystem when it has multiple keys FAILED\r\n[INFO] \tsrc/main/webapp/bower_components/angular/angular.js:9:139670\r\n  [JSFiddle](http://jsfiddle.net/)? -->\r\n\r\n##### **Related issues**\r\n\r\n<!-- has a similar issue been reported before? -->\r\n\r\n##### **Suggest a Fix**\r\n\r\n<!-- if you can't fix the bug yourself, perhaps you can point to what might be\r\n  causing the problem (line of code or commit) -->\r\n\r\n##### **JHipster Version(s)**\r\n\r\n<!-- to provide all information we need, you can use: yo jhipster:info -->\r\n<!-- which version of Jhipster are you using, is it a regression? -->\r\n\r\n##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder**\r\n{\r\n  \"generator-jhipster\": {\r\n    \"jhipsterVersion\": \"3.6.1\",\r\n    \"baseName\": \"gleac\",\r\n    \"packageName\": \"br.com.gleac\",\r\n    \"packageFolder\": \"br/com/gleac\",\r\n    \"serverPort\": \"8080\",\r\n    \"authenticationType\": \"oauth2\",\r\n    \"hibernateCache\": \"ehcache\",\r\n    \"clusteredHttpSession\": \"no\",\r\n    \"websocket\": \"spring-websocket\",\r\n    \"databaseType\": \"sql\",\r\n    \"devDatabaseType\": \"postgresql\",\r\n    \"prodDatabaseType\": \"postgresql\",\r\n    \"searchEngine\": \"elasticsearch\",\r\n    \"buildTool\": \"maven\",\r\n    \"useSass\": false,\r\n    \"applicationType\": \"monolith\",\r\n    \"testFrameworks\": [\r\n      \"gatling\"\r\n    ],\r\n    \"jhiPrefix\": \"jhi\",\r\n    \"enableTranslation\": false\r\n  }\r\n}\r\n<!-- This is mandatory for bug reports. This will help us to replicate the scenario, you can remove the rememberMe key. -->\r\n\r\n##### **Entity configuration(s) `entityName.json` files generated in the `.jhipster` directory**\r\n\r\n<!-- - if the error is during an entity creation or associated with a specific entity. If you are using JDL share that as well -->\r\n\r\n##### **Browsers and Operating System**\r\nLinux Mint with java 8\r\n<!-- What OS are you on? is this a problem with all browsers or only IE8? -->\r\n"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/249015290","html_url":"https://github.com/jhipster/generator-jhipster/issues/4194#issuecomment-249015290","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4194","id":249015290,"user":{"login":"ruddell","id":4294623,"avatar_url":"https://avatars.githubusercontent.com/u/4294623?v=3","gravatar_id":"","url":"https://api.github.com/users/ruddell","html_url":"https://github.com/ruddell","followers_url":"https://api.github.com/users/ruddell/followers","following_url":"https://api.github.com/users/ruddell/following{/other_user}","gists_url":"https://api.github.com/users/ruddell/gists{/gist_id}","starred_url":"https://api.github.com/users/ruddell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruddell/subscriptions","organizations_url":"https://api.github.com/users/ruddell/orgs","repos_url":"https://api.github.com/users/ruddell/repos","events_url":"https://api.github.com/users/ruddell/events{/privacy}","received_events_url":"https://api.github.com/users/ruddell/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T20:15:06Z","updated_at":"2016-09-22T20:15:06Z","body":"I couldn't reproduce this with the latest master nor v3.7.1 (after including the change you linked to).  Are there any more steps to reproduce?\r\n\r\n`PhantomJS 2.1.1 (Mac OS X 0.0.0): Executed 36 of 36 SUCCESS (2.371 secs / 1.074 secs)`  The only change I made to your `.yo-rc.json` was to make the devDatabaseType h2Disk for easy testing."}}
{"actor":{"display_login":"ruddell"}}