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

When selecting an asset to insert from the asset link under body, it uses id instead of name #47

Open
joshie opened this issue Nov 3, 2011 · 3 comments

Comments

@joshie
Copy link

joshie commented Nov 3, 2011

is it possible to have it use name instead of id when inserting an asset from the popup? When going back to edit something, it is less obvious what it is.

@jlong
Copy link
Member

jlong commented Nov 3, 2011

I totally agree. @will-r is there a technical reason why we aren't using the name?

@ghost
Copy link

ghost commented Nov 4, 2011

can't you have two files with the same name? the on disk structure suggest you can.

@joshie
Copy link
Author

joshie commented Nov 4, 2011

Yes, you can. Did not know that, this is also a problem since you can reference an asset only by name without ID…

I uploaded a second asset with the same name as the one i was using, and it chose that asset over the old one. I am not sure if this is particularly desirable behavior (especially if you have a large number of images and could accidentally use the same name). I imagine there should be a check to make sure names are unique.

On Nov 3, 2011, at 8:35 PM, john muhl wrote:

can't you have two files with the same name? the on disk structure suggest you can.


Reply to this email directly or view it on GitHub:
#47 (comment)

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

2 participants