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

searching will not find on alias #443

Closed
Griatch opened this issue Jan 22, 2014 · 4 comments
Closed

searching will not find on alias #443

Griatch opened this issue Jan 22, 2014 · 4 comments
Labels
bug An actual error or unwanted behavior.

Comments

@Griatch
Copy link
Member

Griatch commented Jan 22, 2014

From zchud...@gmail.com on December 15, 2013 00:47:46

A) What steps will reproduce the problem? 1. create an object
2. alias that object
3. try to get/drop/examine/whatever that object by alias B) What is the expected output? What do you see instead (tracebacks, error messages)? Expected to be able to search on alias. Does not find an object by alias. C) What version/revision of Evennia are you using? On what operating system? Give as much information as possible to make it easier for developers to recreate the problem. Current revision. Pull/Update on 12/14/2013 D) Please provide any additional information or suggestions below. From a completely fresh install:

@create/drop thing
You create a new Object: thing.
get thing
You pick up thing.
drop thing
You drop thing.
@alias thing = stuff
Alias(es) for 'thing' set to stuff.
get stuff
Could not find 'stuff'.
get stuff
Could not find 'stuff'.

ex thing

Name/key: thing (#3)
Aliases: stuff
Typeclass: Object (src.objects.objects.Object)
Location: Limbo (#2)
Destination: None
Permissions: Default
Locks:call:true(); control:id(1); delete:id(1) or perm(Wizards); edit:perm(Wizards);
examine:perm(Builders); get:all(); puppet:pid(#3) or perm(Immortals) or
pperm(Immortals); tell:perm(Wizards); view:all()
Persistent attributes:

desc = You see nothing special.

Original issue: http://code.google.com/p/evennia/issues/detail?id=443

@Griatch
Copy link
Member Author

Griatch commented Jan 22, 2014

From zchud...@gmail.com on December 17, 2013 19:19:36

Just as a note, rolling back to revision 3041 does not have this issue.

@Griatch
Copy link
Member Author

Griatch commented Jan 22, 2014

From Kelketek on December 23, 2013 11:40:11

54675a65629e in my branch fixes this problem. The code assumes object aliases will be prefixed with 'object_alias', however, the init for the tag handler strips out the _. Changing it to 'objectalias' fixes the issue.

Will push this to my branch when I get a few other bugs on the way.

Status: Accepted
Owner: Kelketek

@Griatch
Copy link
Member Author

Griatch commented Jan 22, 2014

From Kelketek on December 23, 2013 12:20:09

Pushed and ready for review

Status: Reviewing

@Griatch
Copy link
Member Author

Griatch commented Jan 22, 2014

From griatch on January 04, 2014 08:52:42

This issue was closed by revision 4f8768744421 .

Status: Fixed

@Griatch Griatch closed this as completed Jan 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An actual error or unwanted behavior.
Projects
None yet
Development

No branches or pull requests

1 participant