History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-1738
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Mark Boyd
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
uPortal

Tab Layout editor doesn't honor DLM restrictions

Created: 16/Jun/07 03:14 PM   Updated: 30/Sep/08 02:02 PM
Component/s: User Interface
Affects Version/s: 2.6.0 M1, 2.6.0 RC1, 2.6.0 RC2, 2.6.0 GA, 2.6.1 RC1, 2.6.1 RC2
Fix Version/s: 2.6.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: I'm running the 2.6.1 milestone quick start with the 2.6.1 RC1 deployed within and running against HSQLDB 1.8.0 and using the default skin (spring I believe.)


 Description  « Hide
1) Log in as student, student.
2) Select the "Tab Layout" link in the top right area of the uPortal. The portal fades a bit and an Edit Tabs window appears in the center of the page allowing the user to move the tabs.
3) Move the Main Student Tab to the left of the Useful News tab.
4) Press Done.

As can be seen the tab was successfully moved. It shouldn't have been allowed. Be default the Userful News tab from the news-lo fragment is movement restricted, ie: it contains an attribute of dlm:moveAllowed="false". Hence, any tab with a lower precedence as denoted by an attribute of dlm:precedence with a numeric value or by the absense of such an attribute which indicates a value of zero, should not be allowed to "hop" a restricted tab with a higher precedence.

You can view these custom attributes and the entire layout in general using the recently contributed LayoutExpose channel. See the DLM Admin Guide, last section for accessing the code and details on features and publishing steps:

http://www.ja-sig.org/wiki/display/UPM/DLM+Administration+Guide


 All   Comments   Work Log   Change History      Sort Order:
Jen Bourey [19/Jun/07 03:27 PM]
We also need to add support for unremovable tabs.

It looks like while channel attributes such as "dlm:moveAllowed" are being added to the XML supplied to the theme transformation, the equivalent tab attributes are not available. What do we need to do to get the relevant data into the XML so the theme transform can create the appropriate javascript?


Andrew Wills [30/Sep/08 02:02 PM]
We need to close this issue because:
  • It doesn't affect uP 3
  • There may never be another release of uP 2.6
  • It would require "architectural" changes that cross subsystems and take a lot of new work