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

Dashboard not loading #30

Closed
blizzardengle opened this issue Aug 28, 2018 · 13 comments
Closed

Dashboard not loading #30

blizzardengle opened this issue Aug 28, 2018 · 13 comments
Labels
bug Something isn't working

Comments

@blizzardengle
Copy link

I have the latest version of the Android app and Self Host of Invoice Ninja. I thought the Dashboard feature was not implemented yet until I saw a screenshot in this issue: #20 (comment)

My Dashboard never loads and just shows the loading icon forever:

screenshot

I am using Android 7 on a Moto X Pure edition.

@hillelcoren hillelcoren added the bug Something isn't working label Aug 28, 2018
@hillelcoren
Copy link
Member

I'm not seeing this problem, we'll try add more more debugging in the next version to track down the issue.

@hillelcoren
Copy link
Member

When you get a chance please try again with the latest versions of the web/mobile apps.

We fixed a related error which I'm hoping will also resolve this issue.

@blizzardengle
Copy link
Author

It was still broken so I went to force update the app in the Play Store and noticed you marked the app as DELETE so I deleted it and found the newest version and now I can't login. I get the error: The minimum version is v4.5.4

I just looked and only see 4.3 as the latest release of Invoice Ninja.

@hillelcoren
Copy link
Member

Hmm.. where do you see 4.3, the latest version is shown here:

https://www.invoiceninja.org/

@hillelcoren
Copy link
Member

I see... those are the update notes for breaking changes, most updates have no notes.

You can see our full release list here:

https://github.com/invoiceninja/invoiceninja/releases

@blizzardengle
Copy link
Author

Ok I got everything updated and working correctly but this bug is still present. Could the server be the issue? I noticed after I updated the site and logged into the app for the first time my server froze for a bit as it pulled all the info into the app.

@hillelcoren
Copy link
Member

It could be specific data in the account, if you want to test it you could add a blank company in the web app.

We'll keep looking into it...

@blizzardengle
Copy link
Author

blizzardengle commented Sep 7, 2018

I just made an empty company and your right everything loads fine, Any suggestions to help you track down what in the data is causing the bug?

PS: When deleting a company it will still show in the app until you logout and login again. If you attempt a data refresh as the deleted company the app with load forever ad hang. you should auto logout users when a company deletion has been detected.

@hillelcoren
Copy link
Member

Thanks for the info!

We won't be able to easily detect a deleted company but the app shouldn't hang when reloading the data.

hillelcoren added a commit that referenced this issue Sep 12, 2018
@hillelcoren
Copy link
Member

We've fixed a bug which prevented the app from showing the error details when the dashboard failed to load, hopefully this will help track down the source of the problem.

@hillelcoren
Copy link
Member

Can you try updating app/Ninja/Transformers/ActivityTransformer.php with this version of the file:

https://raw.githubusercontent.com/invoiceninja/invoiceninja/develop/app/Ninja/Transformers/ActivityTransformer.php

@blizzardengle
Copy link
Author

Yep, that worked!

@hillelcoren
Copy link
Member

Great to hear, thanks for letting us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants