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

Map urls not changing along with revised title #32

Closed
gonzoearth opened this issue Apr 10, 2014 · 7 comments
Closed

Map urls not changing along with revised title #32

gonzoearth opened this issue Apr 10, 2014 · 7 comments
Labels
bug the issue is regarding one of our programs which faces problems when a certain task is executed

Comments

@gonzoearth
Copy link

http://publiclab.org/map/pointe-aux-chenes-deep-lake-louisiana/2010-10-22

The revised title comes up in the search engine. This issue is probably not a bug but what do we think, should the urls update each time a title is revised?

@jywarren
Copy link
Member

This is not exactly a bug -- "slugs" or names in urls are supposed to be
static, or if you change an old one, all the links are broken. Do you think
there's a good reason to make an exception? Or change this assumption?

On Thu, Apr 10, 2014 at 1:17 PM, stewart long notifications@github.comwrote:

http://publiclab.org/map/pointe-aux-chenes-deep-lake-louisiana/2010-10-22

The revised title comes up in the search engine. This issue is probably
not a bug but what do we think, should the urls update each time a title is
revised?

Reply to this email directly or view it on GitHubhttps://github.com//issues/32
.

@gonzoearth
Copy link
Author

thanks I was suspecting this. It does not bother me although if it were editable I would do it along with all of the other naming and urls that I am modifying at times. low priority.

@btbonval
Copy link
Member

I agree with Jeff that this is a feature.

For the few cases where it can only be considered a bug (for example,
shortly after posting with a typo), one of the privileged users can go in
and change it in the database.

Buuut since Jeff asked, I suppose I'm curious if there are any reasons why
we'd want to update the URLs?

I'm wondering if, instead of slugs, we might want to switch to a number
based scheme. It seems like slugs are readable just enough for people to
know when the URL is wrong, but not readable enough to necessarily know
what they are clicking on when following a link.
-Bryan

On Thu, Apr 10, 2014 at 1:27 PM, Jeffrey Warren notifications@github.comwrote:

This is not exactly a bug -- "slugs" or names in urls are supposed to be
static, or if you change an old one, all the links are broken. Do you think
there's a good reason to make an exception? Or change this assumption?

On Thu, Apr 10, 2014 at 1:17 PM, stewart long <notifications@github.com

wrote:

http://publiclab.org/map/pointe-aux-chenes-deep-lake-louisiana/2010-10-22

The revised title comes up in the search engine. This issue is probably
not a bug but what do we think, should the urls update each time a title
is
revised?

Reply to this email directly or view it on GitHub<
https://github.com/publiclab/plots2/issues/32>

.

Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-40113501
.

@gonzoearth
Copy link
Author

Thanks Bryan. So the top link is for a map page where the title was revised just this week on a 2011 map. The original place name was incorrect for a map title, 30 miles East of where the map is. So the map title is updated. It's a minor thing and I like the benefits of it being permalink style as well.

@gonzoearth
Copy link
Author

Probably time to close this one, but can you guys show me how to edit this manually for these kinds of exceptions?

@btbonval
Copy link
Member

I would only know how to do this directly in the database. Jeff, are you
aware of a more accessible way through Rails?

On Wed, Apr 23, 2014 at 7:33 PM, stewart long notifications@github.comwrote:

Probably time to close this one, but can you guys show me how to edit this
manually for this kinds of exceptions?


Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-41227461
.

@jywarren
Copy link
Member

Not much more accessible. We could make it an administrator privilege and
put an alert("Warning!") on the button. In Rails, you can edit the
DrupalNodeRevision with something like:

foo = DrupalNode.find nid
goo = foo.latest
goo.title = ""
goo.save!

On Wed, Apr 23, 2014 at 8:50 PM, Bryan Bonvallet
notifications@github.comwrote:

I would only know how to do this directly in the database. Jeff, are you
aware of a more accessible way through Rails?

On Wed, Apr 23, 2014 at 7:33 PM, stewart long notifications@github.comwrote:

Probably time to close this one, but can you guys show me how to edit
this
manually for this kinds of exceptions?


Reply to this email directly or view it on GitHub<
https://github.com/publiclab/plots2/issues/32#issuecomment-41227461>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-41232089
.

@jywarren jywarren added the bug the issue is regarding one of our programs which faces problems when a certain task is executed label Apr 1, 2015
@jywarren jywarren closed this as completed Apr 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug the issue is regarding one of our programs which faces problems when a certain task is executed
Projects
None yet
Development

No branches or pull requests

3 participants