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

copy_to_arrange: "objects" shouldn't be dragged onto arrange root #282

Merged
merged 1 commit into from
Sep 15, 2015

Conversation

mistydemeo
Copy link
Contributor

We normally disallow dragging individual files into arrange root, and only allow dragging directories. However, if the "objects" directory is dragged, we have special behaviour to skip that directory and instead copy over its paths as if each of those had been dragged instead. That special-casing happens after we check whether the path being dragged over is a file or directory, though, which means "objects" passes the check - even though that would result in individual files being copied into the root of arrange.

@qubot qubot force-pushed the dev/issue-8957-arrange_objects_contents branch from 751a543 to d131f71 Compare September 14, 2015 22:54
@Hwesta
Copy link
Contributor

Hwesta commented Sep 15, 2015

👍

@qubot qubot force-pushed the dev/issue-8957-arrange_objects_contents branch from d131f71 to ad8651f Compare September 15, 2015 17:44
@qubot qubot merged commit ad8651f into qa/1.x Sep 15, 2015
@qubot qubot deleted the dev/issue-8957-arrange_objects_contents branch September 15, 2015 17:44
@Hwesta
Copy link
Contributor

Hwesta commented Sep 21, 2015

Cherry-picked to qa/1.5.x as 2817ee6

@Hwesta Hwesta added this to the 1.5.0 milestone Sep 21, 2015
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

Successfully merging this pull request may close these issues.

3 participants