Ticket #965 (new enhancement)

Opened 14 years ago

Last modified 14 years ago

"add to favorites" fails on directory entries

Reported by: tziade Owned by: fguillaume
Priority: P2 Milestone: CPS 3.5.7
Component: CPSDirectory Version: TRUNK
Severity: normal Keywords:
Cc:

Description

the addtoFavorites.py script won't work on directories, and will lead to a link to the root, because URIs are:

 http://localhost:8080/cps/cpsdirectory_entry_view?dirname=xxxx&id=xxx

the best solution would be to have well formed urls

 http://localhost:8080/cps/directories/xxxx/xxx

but this relies on deep changes,

the alternative is to have a custom addtoFavorite skin within CPSDirectory, taking car of those particular cases..

Change History

comment:1 Changed 14 years ago by fguillaume

We can't have URLs like http://localhost:8080/cps/directories/xxxx/xxx for 3.4.0.

But meanwhile we can put hacks in addtoFavorite default skin.

comment:2 Changed 14 years ago by lregebro

  • Severity changed from normal to enhancement
  • Milestone changed from CPS 3.4.0 to CPS 3.5.0
Note: See TracTickets for help on using tickets.