Opened 14 years ago

Closed 10 years ago

#7751 closed defect (invalid)

dojox.dtl.filter.strings.slugify bug

Reported by: rsaccon Owned by: rsaccon
Priority: low Milestone: future
Component: DojoX DTL Version: 1.2beta
Keywords: dojox dtl slugify Cc:
Blocked By: Blocking:

Description (last modified by ben hockey)

the dtl slugify does not work in my particular case when used inside templates loaded via include tag (tested in firefox 3.0.3).

Original source for slugify filter:

slugify: function(value){
                value = value.replace(/[^\w\s-]/g, "").toLowerCase();
                return value.replace(/[\-\s]+/g, "-");


typeof(value) is "object"


slugify: function(value){
                // summary: Converts to lowercase, removes
                //              non-alpha chars and converts spaces to hyphens
                value = value.toString().replace(/[^\w\s-]/g, "").toLowerCase();
                return value.replace(/[\-\s]+/g, "-");

Change History (8)

comment:1 Changed 14 years ago by bill

Component: GeneralDojox
Owner: changed from anonymous to Neil Roberts

comment:2 Changed 14 years ago by bill

Milestone: 1.2tbd
Priority: highnormal

comment:3 Changed 14 years ago by Adam Peller

Component: DojoxDojoX DTL

comment:4 Changed 13 years ago by dante

Milestone: tbdfuture

comment:5 Changed 13 years ago by Neil Roberts

Status: newassigned

comment:6 Changed 10 years ago by ben hockey

Description: modified (diff)
Priority: highlow

comment:7 Changed 10 years ago by ben hockey

Owner: changed from Neil Roberts to rsaccon
Status: assignedpending

rsaccon, i'm going through old tickets. is this still a problem?

comment:8 Changed 10 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.