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

Slug field has blank spaces when editing #50

Open
gabriellima opened this issue Aug 19, 2011 · 7 comments
Open

Slug field has blank spaces when editing #50

gabriellima opened this issue Aug 19, 2011 · 7 comments

Comments

@gabriellima
Copy link
Member

Given an user exists (I did not test with a new user, just an existing one) And its slug is 'my-name' When I go to edit page I should just see 'my-name' And should not see 'my-name(.*)'

where (.*) represents blank spaces added to the field on edit time. Saw this on google-chrome, but don't think this is browser related, but database related.

And also think that just a slug_field.strip() would solve this issue.

@rodrigomanhaes
Copy link
Member

This problem also occurs on Firefox.

@gabriellima
Copy link
Member Author

So it might be field or database related. Thanks to check, Rodrigo.

@tarsisazevedo
Copy link
Member

I dont understand this issue please, explain @rodrigomanhaes @gabriellima

@gabriellima
Copy link
Member Author

Well, it was long time ago, but I think that still exists.
Let's say you have a user, with this slug: tarsis-azevedo

When you try to edit this user, and you click the slug field to edit it, you can see that instead of having:

'tarsis-azevedo'

you have:

'tarsis-azevedo                                   '

You see the blank spaces on the end?
That was the problem.
Hope you understand.

@bernardobarreto
Copy link
Member

To see the blank spaces edit your user, and in the slug field press "Select All"

@bernardobarreto
Copy link
Member

This problem occurs in NSI site in the web, but in my localhost it didn't happen. This is really weird.

@gabriellima
Copy link
Member Author

Same happens to me here, working fine. Maybe some lib was updated in time. Someone have to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants