Support for default tool and redirect

Bug #333890 reported by Paul Everitt
10
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Chris McDonough

Bug Description

Moderators can select a tool to be the default tool of a community.

KARL3 Behavior
===============

We're just going to do a redirect. The /community/africa will go to Overview.

KARL2 Behavior
==================

This is how it works in KARL2. A URL such as:

  /communities/africa

...goes to the default tool. If the default tool is Overview, then this "default" URL returns the same results as clicking on the Overview tab, which leads to the view.html URL.

Stated differently, for a new community, both of these return the same results:

  /communities/africa
  /communities/africa/view.html

The hard part: this works without a redirect. That is, the first URL doesn't redirect you to the second.

If you edit the community and choose Blog as the default tool, then these two URLs return the same result:

  /communities/africa
  /communities/africa/blog

Again, this works without a redirect.

This might be hard to do in KARL3, where the default view is wired up in ZCML, not associated at runtime.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Assigning to Chris for input. We don't have to address this now, I put it in M4.

Changed in karl3:
assignee: nobody → chrism-plope
importance: Undecided → Medium
milestone: none → m4
Revision history for this message
Chris McDonough (chrism-plope) wrote :

Why would anyone care if it redirected or not?

description: updated
Revision history for this message
Chris McDonough (chrism-plope) wrote :

Paul did the default tool stuff; I did the redirect.

Changed in karl3:
status: New → Fix Committed
Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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