Username matching test

TalkBrightcopy Test Group

This group has been archived. Find out more.

Join LibraryThing to post.

Username matching test

1lorax
Dec 19, 2013, 3:21 pm

2lorax
Dec 19, 2013, 3:21 pm

3lorax
Dec 19, 2013, 3:21 pm

@loraxtest
@brightcopytest

4lorax
Dec 19, 2013, 3:22 pm

5lorax
Dec 19, 2013, 3:22 pm

6lorax
Dec 19, 2013, 3:22 pm

7brightcopy
Dec 19, 2013, 3:38 pm

So it seems like a hack Tim put in specifically for "____test" accounts, eh?

8lorax
Dec 20, 2013, 8:48 am

No, it's weirder than that. Check messages 1 and 2. If I have my username first, and Lora's second, they both resolve correctly. But if I have hers first, and then mine, they both resolve to hers. Similarly if I have "loraxtest", and not my own, it fails entirely, but if I have my own username first, and then "loraxtest", the non-existent test one resolves to mine. And if I have "brightcopytest" without yours first, it works.

So apparently they tried to be smart, and if you've already tagged "string" in a post, then "string.*" will just resolve to "string".

9brightcopy
Dec 20, 2013, 10:20 am

That's some good sleuthing.

10lorax
Dec 20, 2013, 2:04 pm

Thanks. Figuring out bugs is always easier when it isn't your code. :-)