Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

ViewHierarchyUtility.GetHierarchicalPath does not handle root paths *nix file systems. #2745

Closed
sornaks opened this issue Jun 25, 2015 · 1 comment
Assignees
Milestone

Comments

@sornaks
Copy link

sornaks commented Jun 25, 2015

It trims the leading / and then tries to check Path.IsPathRooted(). This will always return false in *nix file systems.

@danroth27 danroth27 added this to the 6.0.0-beta7 milestone Jun 25, 2015
sornaks pushed a commit that referenced this issue Aug 6, 2015
…e root paths *nix file systems.

Fix: It is not necessary to check for root paths in this place because ViewHierarchyUtility.GetHierarchicalPath is always called with a relative path. Hence removing the check.
@sornaks
Copy link
Author

sornaks commented Aug 7, 2015

1aef84b

@sornaks sornaks closed this as completed Aug 7, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants