Spurious space added when editing CK

TalkBug Collectors

Join LibraryThing to post.

Spurious space added when editing CK

This topic is currently marked as "dormant"—the last message is more than 90 days old. You can revive it by posting a reply.

1r.orrison
Mar 5, 2010, 6:46 pm

This happens on most fields. When you double click the field to edit an existing value, a space is added at the end of each entry. If you save it without removing the spaces, the common knowledge entries don't link up with the non-space versions.

Compare:
http://www.librarything.com/commonknowledge/search.php?q=New%20York,%20New%20Yor...
vs.
http://www.librarything.com/commonknowledge/search.php?q=New%20York,%20New%20Yor...

After fixing the add-a-space bug, could you have something go through the data and remove all trailing spaces?

2conceptDawg
Mar 5, 2010, 8:37 pm

Thanks. I'll take a look at it.

3r.orrison
Mar 8, 2010, 7:27 am

Additional data: It doesn't seem to be doing it if I repeatedly edit the field without leaving the page. I.e. If I go to one of the authors in the first list, edit the place of residence to remove the space, and save the field, then edit the field, the space at the end remains gone. If I close the page and then open it again, the space is back.

4DisassemblyOfReason
Mar 21, 2010, 1:38 am

For works, it doesn't seem to happen to the series field, but does happen for (at least)
- canonical title
- date
- event (the trailing spaces on some events mean that they are getting identified as different events)

(This got mentioned in passing also on a previous thread, which was mostly in relation to the new date hyperlinks so the spurious spacing remarks may have been overlooked..)

The spurious extra spaces are also appended to common knowledge fields for authors as well as those for works.

5r.orrison
Apr 6, 2010, 3:08 am

Still happening, just verified on Places of residence field on an author page.

6r.orrison
Jun 3, 2010, 11:52 am

Still happening. Check out Places of Residence on http://www.librarything.com/author/clarkbenjaminl (look at the links before you edit, then edit)

7timspalding
Jun 3, 2010, 11:55 am

Sent to Chris.

8r.orrison
Edited: Jun 3, 2010, 5:36 pm

Thanks! The links in the first message also still illustrate the problem.

9r.orrison
Jul 17, 2010, 4:03 am

Bump.

10EveleenM
Jul 17, 2010, 4:23 am

Yes, this one is really annoying.

11timspalding
Oct 6, 2010, 12:28 am

Can someone see if this is still happening?

12keristars
Oct 6, 2010, 12:34 am

Tested on a work and an author just now and it seems to be fixed. :)

13timspalding
Oct 6, 2010, 12:35 am

Good. Thanks.

14keristars
Oct 6, 2010, 12:49 am

I take it back. It's not adding the space immediately anymore, but if you refresh the page and double-click, the space gets added.

15timspalding
Oct 6, 2010, 1:07 am

What browser are you using and how can you tell?

16keristars
Oct 6, 2010, 1:47 am

I'm using FF 3.6.10 and I can tell because when I refresh the page and double-click again, the space is there.

When I noticed it, was because I clicked on a birthdate link and it had the space included (as well as including the bracketed year). It also showed up in Places of Residence, Canonical Title, and Important Events, but not in Characters or Important Places - which matches the behavior shown in this thread in messages 4 and 5.

On the other hand, the space thing seems to not mess up the search anymore, except for the birth/death dates, and that seems to be as much as problem as the bracketed year as it is an added space.