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

User home link redirects to empy create project page if no home exists #1090

Closed
ChrisBr opened this issue Sep 2, 2015 · 8 comments
Closed
Assignees
Labels
Frontend Things related to the OBS RoR app

Comments

@ChrisBr
Copy link
Member

ChrisBr commented Sep 2, 2015

Instead the form on the create project page should be already filled with

home:user
@ChrisBr ChrisBr added Frontend Things related to the OBS RoR app Regression labels Sep 2, 2015
@bgeuken
Copy link
Member

bgeuken commented Sep 22, 2015

For new users this seems to be the case. Tested on my dev machine and build.opensuse.org

May it be that we did not migrate existing users that doesn't have a home project?

@bgeuken
Copy link
Member

bgeuken commented Sep 22, 2015

Apparently there is a flag that we have to consider: Configuration.allow_user_to_create_home_project

@hennevogel
Copy link
Member

I don't get your bug description. What is happening?

@ChrisBr
Copy link
Member Author

ChrisBr commented Oct 2, 2015

If you don't have a home directory and you click the home link you'll be redirected to /project/new -> fine! When you then try to create the home you get a permission error, because of the missing namespace home:username. For you this is obvious what's happening, for a new user maybe not ;) Therefore we should fill the form with namespace when redirected from home.

@imobachgs
Copy link
Member

Yes, I was expecting something like this http://openbuildservice.org/help/manuals/obs-best-practices/images/home_project_webui_description.png instead of a 404.

@bgeuken bgeuken self-assigned this Oct 2, 2015
@hennevogel
Copy link
Member

How do you try to create the home on /project/new?

@imobachgs
Copy link
Member

@hennevogel I only tried to navigate to the Home project link in the web UI and I got a 404.

bgeuken added a commit to bgeuken/open-build-service that referenced this issue Oct 2, 2015
…E#1090)

This will show a 'Create home' link instead of the 'Home Project' when a
user doesn't yet have a home. The project creation page now contains the
home project name when following this link.
ChrisBr added a commit that referenced this issue Oct 5, 2015
[webui] Fix home project link for users without home project (#1090)
@bgeuken
Copy link
Member

bgeuken commented Oct 5, 2015

Solved with #1189

@bgeuken bgeuken closed this as completed Oct 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Things related to the OBS RoR app
Projects
None yet
Development

No branches or pull requests

4 participants