Ticket #2474 (new enhancement)

Opened 8 years ago

Last modified 7 years ago

refactor CPSDirectory URLs and actions

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.6.1
Component: CPSDirectory Version: 3.5.2
Severity: normal Keywords:
Cc:

Description

Currently, directory actions are stored in the request object in cpsskins_cmfactions which is leveraged explicitely by the Actions Portlet in addition to regular actions.

This is a terrible hack, that I just had to re-enable on the current default branch.

The reason for this is that directories don't work with a regular traversal, type info and the like. I don't see the point of making such exceptions. URLs like

http://cps.example/directories/members/entry_search
http://cps.example/directories/members/joe/entry_edit_form

would perfectly make sense to me

Change History

comment:1 Changed 7 years ago by gracinet

and besides, this would allow UI for directories located outside the tool, which is notably useful for CPSUserForms.

Note: See TracTickets for help on using tickets.