[MGNLPCK-43] Upload fails when node is missing "/" at start of path Created: 18/Aug/11 Updated: 09/Sep/11 Resolved: 09/Sep/11 |
|
| Status: | Closed |
| Project: | Packager (closed) |
| Component/s: | None |
| Affects Version/s: | 4.0.5 |
| Fix Version/s: | 4.0.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Ondrej Chytil | Assignee: | Ondrej Chytil |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
Steps to reproduce:
|
| Comments |
| Comment by Ralf Hirning [ 23/Aug/11 ] |
|
The real error is that the backup includes these paths. But to avoid problems now the leading "/" will be inserted if missing |
| Comment by Jan Haderka [ 07/Sep/11 ] |
|
Current solution seems bit convoluted. Also it seems like something that was done in thousands other places, so there should be utility method to do already, e.g. info.magnolia.cms.util.PathUtil.addLeadingSlash(String path) |