Ticket #2532486 (closed defect)

Reporter


Erik Aho
Opened: 07/5/12
Last modified: 08/1/12
Status: closed
Type: defect
Resolution: fixed

Owner


Eric Ferraiuolo
Target Release: 3.6.0
Priority: P1 (critical)
Summary: Hash-based URLs not routing properly when the root does not end with a trailing slash
Description:

Issue is described in this forum posting:

http://yuilibrary.com/forum/viewtopic.php?f=92&t=10286

From Eric F.'s reply:

What's happening is the hash-path is resolved against the URL's path, i.e.
it's resolving "1/" against "/customroot/AppTest", which leads to: "/customroot/1/". From there the `root` is suppose to be removed from the URL, but in this case, since the root no longer exists in
the resolved path, it's a no-op.

Type: defect Observed in Version: 3.6.0pr2
Component: App Framework Severity: S2 (high)
Assigned To: Eric Ferraiuolo Target Release: 3.6.0
Location: Library Code Priority: P1 (critical)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

Eric Ferraiuolo

YUI Developer

Posted: 07/9/12
  • location changed to Library Code
  • milestone changed to 3.6.0
  • priority changed to P2 (high)
  • severity changed from S3 (normal) to S2 (high)
  • status changed from new to accepted

Eric Ferraiuolo

YUI Developer

Posted: 07/9/12
  • estimated changed from 0 to 0.25
  • remaining changed from 0 to 0.25
  • sprint changed to backlog

Eric Ferraiuolo

YUI Developer

Posted: 07/9/12
  • priority changed from P2 (high) to P1 (critical)

Eric Ferraiuolo

YUI Developer

Posted: 07/10/12
  • completed changed from 0 to 0.5
  • remaining changed from 0.25 to 0
  • status changed from accepted to checkedin

Eric Ferraiuolo

YUI Developer

Posted: 07/10/12
  • resolution changed to fixed

Fix issue with Router and serializing its saved paths to the `hash`.

This fixes an issue with how Router was saving paths to the `hash` in
conjunction with its `root`. See the following forum post for details:
http://yuilibrary.com/forum/viewtopic.php?p=33656

Fixes #2532486
View Commit: f9cff926f84d16b4abf407d026251f65158b8593

Jenny Donnelly

YUI Developer

Posted: 08/1/12
  • status changed from checkedin to closed

Shipped in 3.6.0. Marking closed/fixed.