#13234 closed defect (fixed)
compactPath does not function correctly if lastSegment != ".."
Reported by: | tommahieu | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Loader | Version: | 1.7.0b1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
compactPath does not update the lastSegment when compacting the path, resulting in erroneously compacted paths.
For example paths like "../../dojo/../../mytests" are compacted to "../mytests" instead of "../../../mytests". Such paths are apparently only passed to compactPath if they are added as modulepaths to the dojo/require config object.
patch in attachment
Attachments (1)
Change History (4)
Changed 10 years ago by
Attachment: | dojo.js.diff added |
---|
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment should've been fixed #13234
comment:3 Changed 10 years ago by
Milestone: | tbd → 1.7 |
---|
Note: See
TracTickets for help on using
tickets.
compactPath patch (update lastSegment when popping off result array)