Base solution for your next web application
Open Closed

Cannot change tenant on login page. #4849


User avatar
0
timmackey created

Cannot login. When attempting to change tenant, clicking the 'Save' button causes Save and Cancel buttons to flicker, and dialog does not close.


15 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @TimMackey,

    Do you have any error on the browser console ? Which browser you are using by the way ?

  • User Avatar
    0
    timmackey created

    Microsoft Edge. No errors in browser console.

  • User Avatar
    0
    ismcagdas created
    Support Team

    @TimMackey there was a problem on Edge. Please update <a class="postlink" href="https://www.npmjs.com/package/abp-ng2-module">https://www.npmjs.com/package/abp-ng2-module</a> in your project to v2.1 and the problem will be fixed.

  • User Avatar
    0
    timmackey created

    "install abp-ng2-module --save" displays warnings: npm WARN registry Unexpected warning for <a class="postlink" href="https://registry.npmjs.org/">https://registry.npmjs.org/</a>: Miscellaneous Warning EINTEGRITY: sha512-Z5BTk6ZRe4tXXQlkqftmsAUANpXmuwlsF5Oov8ThoMbQRzdGTA1ngYRW160GexgOgjsFOKJz0LYhoNi+2AMBUw== integrity checksum failed when using sha512: wanted sha512-Z5BTk6ZRe4tXXQlkqftmsAUANpXmuwlsF5Oov8ThoMbQRzdGTA1ngYRW160GexgOgjsFOKJz0LYhoNi+2AMBUw== but got sha1-XdnabuOl8wIHdDYpDLcX0/SlTgI=. (8048 bytes) npm WARN registry Using stale package data from <a class="postlink" href="https://registry.npmjs.org/">https://registry.npmjs.org/</a> due to a request error during revalidation. npm WARN @angular/[email protected] requires a peer of rxjs@^5.5.0 but none is installed. You must install peer dependencies yourself. npm WARN @angular/[email protected] requires a peer of zone.js@^0.8.4 but none is installed. You must install peer dependencies yourself. npm WARN @angular/[email protected] requires a peer of rxjs@^5.5.0 but none is installed. You must install peer dependencies yourself. npm WARN @angular/[email protected] requires a peer of rxjs@^5.5.0 but none is installed. You must install peer dependencies yourself. npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.

    • [email protected] added 6 packages, removed 30 packages and updated 144 packages in 139.821s

    "npm run build" displays: npm ERR! missing script: build npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Tim\AppData\Roaming\npm-cache_logs\2018-03-13T17_28_05_978Z-debug.log

    Log file is here: [http://s000.tinyupload.com/index.php?file_id=47826539049437627714])

  • User Avatar
    0
    vladsd created

    I also notice some issue with IE, see my post #4850

    I debug a bit, looks like tenant and application object on session are not properly set.

  • User Avatar
    0
    vladsd created

    @ismcagdas, I checked and do not see v.2.0.1, only 2.0.0

    see <a class="postlink" href="https://github.com/aspnetboilerplate/abp-ng2-module/releases">https://github.com/aspnetboilerplate/ab ... e/releases</a>

    I wonder if anyone tests on IE, as seems to be an old issue:(

  • User Avatar
    0
    vladsd created

    I have updated to v.2.1.0 from npm and run yarn and IE issues related to login, tenant pages are resolved.

  • User Avatar
    0
    timmackey created

    @vladsd. From what folder did you run the update package?

  • User Avatar
    0
    aaron created
    Support Team

    @TimMackey Did you run yarn?

  • User Avatar
    0
    timmackey created

    Apparently this is an Edge-only problem. When I used Chrome, I did not have to change the tenant (it was the correct tenant) and I logged in normally.

    @aaron: ran yarn at initial setup time per Setup page.

  • User Avatar
    0
    alper created
    Support Team

    when you add new package/update pls run yarn.

  • User Avatar
    0
    timmackey created

    Tried running the update package again. This is the result:

    C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host>npm install abp-ng2-module --save npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\strip-json-comments-6c5be904\package.json' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\strip-json-comments-6c5be904\index.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\strip-json-comments-6c5be904\license' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\buffer-entry.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\sax-9b466ea3\examples\example.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\strip-json-comments-6c5be904\readme.md' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\sweetalert-fa40080a\dist\sweetalert.min.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\entry-writer.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\waypoints-63fd7885\src\context.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\sax-9b466ea3\examples\get-products.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\entry.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\waypoints-63fd7885\src\debug.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\sax-9b466ea3\examples\hello-world.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\extended-header-writer.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\waypoints-63fd7885\src\group.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\sax-9b466ea3\examples\pretty-print.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\extended-header.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\sax-9b466ea3\examples\big-not-pretty.xml' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-api.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\extract.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-base64-vlq.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\cloneDeepWith\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\global-header-writer.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tslint-96c52bc5\lib\language\formatter\abstractFormatter.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-base64.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\header.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tslint-96c52bc5\lib\language\formatter\formatter.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-binary-search.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\pack.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tslint-96c52bc5\lib\language\formatter\abstractFormatter.d.ts' npm WARN tar ENOENT: no such file or directory, lstat 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\topojson-4e7e2eba\lib\topojson\topology' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-array-set.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde\lib\parse.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tslint-96c52bc5\lib\language\formatter\formatter.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-source-map-consumer.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tar-a1154dde.travis.yml' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-source-map-generator.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-source-node.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-util.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\util.js' npm WARN tar ENOENT: no such file or directory, lstat 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\ts-helpers-829c08f2\typings\main\ambient\mocha' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377\test\source-map\test-dog-fooding.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\source-map-5ffdf377.travis.yml' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\ts-helpers-829c08f2\typings\main.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\ts-helpers-829c08f2\ts-helpers.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\ts-helpers-829c08f2\tsconfig.json' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\ts-helpers-829c08f2\typings.json' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\fb\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\findLastKey\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@angular\core-2864658a\src\profile\profile.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@angular\core-2864658a\src\profile\wtf_impl.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tether-68bf8e46\src\js\abutment.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tether-68bf8e46\src\js\constraint.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tether-68bf8e46\src\js\markAttachment.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tether-68bf8e46\src\js\shift.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tether-68bf8e46\src\js\tether.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\tether-68bf8e46\src\js\utils.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\flow\index.d.ts' npm WARN tar ENOENT: no such file or directory, lstat 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\selenium-webdriver-be4baaa4\lib\test\data\js\skins' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\fromPairs\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging\selenium-webdriver-be4baaa4\lib\test\data\js\skins\lightgray\skin.min.css' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\intersectionWith\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\isEqualWith\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\node_modules.staging@types\lodash-a805e548\pad\index.d.ts' npm WARN [email protected] No description npm WARN [email protected] No repository field. npm WARN The package codelyzer is included as both a dev and production dependency. npm WARN The package jasmine-spec-reporter is included as both a dev and production dependency. npm WARN The package karma is included as both a dev and production dependency. npm WARN The package ts-node is included as both a dev and production dependency. npm WARN The package typescript is included as both a dev and production dependency.

    npm ERR! code EINTEGRITY npm ERR! sha1-0sMepJKyK2qNiHrqFZiaI4/AhK4= integrity checksum failed when using sha1: wanted sha1-0sMepJKyK2qNiHrqFZiaI4/AhK4= but got sha1-s+4q3E2tVI1K6ZiZT1rIAtx1O4Y=. (16980 bytes)

    npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Tim\AppData\Roaming\npm-cache_logs\2018-03-14T07_03_00_895Z-debug.log

    And if the install did succeed the instructions on npm (<a class="postlink" href="https://www.npmjs.com/package/abp-ng2-module">https://www.npmjs.com/package/abp-ng2-module</a>) are a bit sketchy. i.e. "In order to use AbpHttpInterceptor in your module, first import it into your module like below;" What/where is the module?

    And this: "then, add it to your module providers like below;" What modules? Where? What files?

    These instructions are clearly written for high priests, not for nubes. I'm a nube. I've been trying to get this app running for 2 weeks now and still experiencing problems with just getting it to come up. Very frustrating when support says "just do this and it will work" and it doesn't.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi Tim,

    You are right about all the mess with npm stuff but npm world is a bit complicated :).

    You just basically need to change the version of "abp-ng2-module" in package.json to "2.1.0" and then run yarn command in the root directory of your Host project (because you are using merged solution).

    Please check the attached image.

  • User Avatar
    0
    timmackey created

    That solution worked. Thank you!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Great :). Sorry for the problem again.