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

Fix users with 0 projects issues #61

Closed
ss3844 opened this issue Nov 26, 2019 · 3 comments
Closed

Fix users with 0 projects issues #61

ss3844 opened this issue Nov 26, 2019 · 3 comments
Assignees
Labels

Comments

@ss3844
Copy link

ss3844 commented Nov 26, 2019

I also use docker image to create leantime project. When I use admin to create a manager account, I got an error at this. What can I do in this error?

Notice: Undefined offset: 0 in /var/www/html/src/core/class.frontcontroller.php on line 90

Notice: Undefined offset: 0 in /var/www/html/src/core/class.frontcontroller.php on line 91

Notice: Undefined offset: 0 in /var/www/html/src/core/class.frontcontroller.php on line 92

@marcelfolaron
Copy link
Contributor

Hey, thanks for filing.

It seems that there isn't a default project in your system, that should have been created during installation? When do you see the notices? Is that when you create a new user?

This should only happen if you don't have any projects assigned to yourself.
The easiest way to get around that would be to create a project under //projects/newProject/

In the meantime I'll make sure to catch that error case. This will be fixed in the next release.

@marcelfolaron marcelfolaron self-assigned this Nov 26, 2019
@ss3844
Copy link
Author

ss3844 commented Nov 26, 2019

Thank you for the prompt support.

I see this error message when I create a new user and doesn't have any project in system. When I create a default project for him, the error message will be solved.

@marcelfolaron
Copy link
Contributor

Thank you for confirming that. I'll make sure to include a fix in the next release which will be 2.1

@marcelfolaron marcelfolaron changed the title Docker Image Fix users with 0 projects issues Nov 27, 2019
marcelfolaron added a commit that referenced this issue Dec 1, 2019
- Removed Y scroll on gantt chart
- Fixed 0 project user experience #61
- Fixed wrong exception object instantiation in file handler
- Removed old permission validation in frontcontroller (was not used)
- Fixed/removed javascript due date update call when editing a To-Do
- Added version to footer
- Renamed "Progress Review" to "Retrospectives"
- Fixed close lightbox call in helper content modals (kanban and retros)
- Project creator is now assigned to a new project by default (can be unchecked)
- All projects view (for admins) only showed user projects.
- Removed footer placeholder from content template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants