Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Copy Account Number #89

Closed
paolofulgoni opened this issue Mar 19, 2021 · 4 comments
Closed

Error on Copy Account Number #89

paolofulgoni opened this issue Mar 19, 2021 · 4 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@paolofulgoni
Copy link
Contributor

Describe the bug

The Copy Account Number menu gives an error. No account number is stored in the clipboard

Leapp Version

0.4.6

To Reproduce

Steps to reproduce the behavior:

  • from the main screen, click on the three dots button of a configured account
  • select Copy Account Number from the menu
  • An error message appears on top of windos: "TypeError: Cannot read property 'name' of undefined"

Expected behavior

Account number stored in the clipboard

Screenshots

image

Desktop (please complete the following information):

  • OS: Windows
  • OS Version: 10
  • Leapp Version: 0.4.6

Additional context

This is the log entry:

[2021-03-19 12:40:23.080] [error] [renderer] [l] {} TypeError: Cannot read property 'name' of undefined
    at l.copyCredentials (file:///C:/Users/fulgoni/AppData/Local/Programs/Leapp/resources/app.asar/dist/leapp-client/6.b6a264e16e6346951c9e.js:1:8125)
    at Object.handleEvent (file:///C:/Users/fulgoni/AppData/Local/Programs/Leapp/resources/app.asar/dist/leapp-client/6.b6a264e16e6346951c9e.js:1:15101)
    at Object.handleEvent (file:///C:/Users/fulgoni/AppData/Local/Programs/Leapp/resources/app.asar/dist/leapp-client/main.3d1133ed0968e4149f23.js:2:1235001)
    at Object.handleEvent (file:///C:/Users/fulgoni/AppData/Local/Programs/Leapp/resources/app.asar/dist/leapp-client/main.3d1133ed0968e4149f23.js:2:1246186)
    at Gu (file:///C:/Users/fulgoni/AppData/Local/Programs/Leapp/resources/app.asar/dist/leapp-client/main.3d1133ed0968e4149f23.js:2:1168176)
    at file:///C:/Users/fulgoni/AppData/Local/Programs/Leapp/resources/app.asar/dist/leapp-client/main.3d1133ed0968e4149f23.js:2:1228518
    at HTMLAnchorElement.<anonymous> (file:///C:/Users/fulgoni/AppData/Local/Programs/Leapp/resources/app.asar/dist/leapp-client/main.3d1133ed0968e4149f23.js:2:2469459)
    at e.invokeTask (file:///C:/Users/fulgoni/AppData/Local/Programs/Leapp/resources/app.asar/dist/leapp-client/polyfills.ffed1783673404e056c5.js:2:7792)
    at Object.onInvokeTask (file:///C:/Users/fulgoni/AppData/Local/Programs/Leapp/resources/app.asar/dist/leapp-client/main.3d1133ed0968e4149f23.js:2:1203302)
    at e.invokeTask (file:///C:/Users/fulgoni/AppData/Local/Programs/Leapp/resources/app.asar/dist/leapp-client/polyfills.ffed1783673404e056c5.js:2:7713)
@paolofulgoni paolofulgoni added the bug Something isn't working label Mar 19, 2021
@andreacavagna01
Copy link
Contributor

Thanks as always for reporting it! I Will correct this issue in the next days

@andreacavagna01 andreacavagna01 added the good first issue Good for newcomers label Mar 23, 2021
suspiration pushed a commit to suspiration/leapp that referenced this issue Mar 23, 2021
Fixes issue where we are trying to access roles for AWS PlainText account which results in error.
suspiration pushed a commit to suspiration/leapp that referenced this issue Mar 23, 2021
Fixes issue where we are trying to access account role when it is an AWS_PLAIN_USER account.
urz9999 added a commit that referenced this issue Mar 23, 2021
fix(#89): Error on Copy Account Number
@andreacavagna01
Copy link
Contributor

Merged in v0.4.7 release

@paolofulgoni
Copy link
Contributor Author

I confirm it's now working, thanks!!!

@andreacavagna01
Copy link
Contributor

Nice to hear! :) thanks as always @paolofulgoni

urz9999 pushed a commit that referenced this issue Jul 21, 2021
Fixes issue where we are trying to access account role when it is an AWS_PLAIN_USER account.
urz9999 added a commit that referenced this issue Jul 21, 2021
fix(#89): Error on Copy Account Number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants