PPL

Pretty public profile URLs on the alphabetized list are not getting fixed

Bug #724032 reported by Christopher Adams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PPL
Fix Released
Critical
Christopher Adams

Bug Description

The homepage with the list of public profiles uses the following piece of code to create a more "pretty" URL for the public profile:

<php $aiki->url->fix_url( ((name_alphabetized)) ); php>

On the combined list this works as expected and produces a URL of the type:

/people/4265/jon_phillips

On the alphabetized list it produces something different:

/people/2971/Jon%20Phillips

There must be a problem in using this function on the alphabetized list which is inside a (sql( ( statement and looks like:

<php $aiki->url->fix_url( [-[name_alphabetized]-] ); php>

Changed in ppl:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Brad Phillips (brad-bradphillips)
milestone: none → 0.3
Revision history for this message
Christopher Adams (christopheradams) wrote :

Hm, breaking the part inside the inline (sql( ( .. || ... statement into a separate widget and feeding it the query via inherit doesn't work either.

Maybe the problem has something to do with the query?

Revision history for this message
Christopher Adams (christopheradams) wrote :

The widget having trouble is: 107 - people_list_alphabetical

Changed in ppl:
importance: High → Critical
Revision history for this message
Christopher Adams (christopheradams) wrote : Re: [Bug 724032] [NEW] Pretty public profile URLs on the alphabetized list are not getting fixed

Bassel any idea about this one?

On Thursday, February 24, 2011, Christopher Adams <email address hidden> wrote:
> The widget having trouble is: 107 - people_list_alphabetical
>
> ** Changed in: ppl
>   Importance: High => Critical
>
> --
> You received this bug notification because you are a member of PPL
> Developers, which is subscribed to PPL.
> https://bugs.launchpad.net/bugs/724032
>
> Title:
>  Pretty public profile URLs on the alphabetized list are not getting
>  fixed
>
> Status in PPL:
>  Confirmed
>
> Bug description:
>  The homepage with the list of public profiles uses the following piece
>  of code to create a more "pretty" URL for the public profile:
>
>  <php $aiki->url->fix_url( ((name_alphabetized)) ); php>
>
>  On the combined list this works as expected and produces a URL of the
>  type:
>
>  /people/4265/jon_phillips
>
>  On the alphabetized list it produces something different:
>
>  /people/2971/Jon%20Phillips
>
>  There must be a problem in using this function on the alphabetized
>  list which is inside a (sql( ( statement and looks like:
>
>  <php $aiki->url->fix_url( [-[name_alphabetized]-] ); php>
>

Revision history for this message
Christopher Adams (christopheradams) wrote :

Any progress on this?

Revision history for this message
Christopher Adams (christopheradams) wrote :

Managed to fix this by moving the list item into a separate widget and feeding it the SQL query.

Changed in ppl:
assignee: Brad Phillips (brad-bradphillips) → Christopher Adams (christopheradams)
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.