
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
if no dlm label policy is specified:
*Change a tab name (should work)
*Change the same tab name back to the default name (works in javascript and in the database, but the ilf is not updated)
*Reload the page (the tab name will change back to the previous name)
*Log out
*Log back in (the name should be correctly set to the default name)
I traced this back to the LPAResetAttribute class. If the labelPolicy is null then only the edit directive is removed.
To fix the problem I replaced (line 74 of source/org/jasig/portal/layout/dlm/LPAResetAttribute.java):
if (!name.equals(Constants.ATT_NAME))
{
ilfNode.setAttribute(name, fragmentValue);
}
with
if (DistributedLayoutManager.ContextHolder.labelPolicy == null || !name.equals(Constants.ATT_NAME))
{
ilfNode.setAttribute(name, fragmentValue);
}
|
|
Description
|
if no dlm label policy is specified:
*Change a tab name (should work)
*Change the same tab name back to the default name (works in javascript and in the database, but the ilf is not updated)
*Reload the page (the tab name will change back to the previous name)
*Log out
*Log back in (the name should be correctly set to the default name)
I traced this back to the LPAResetAttribute class. If the labelPolicy is null then only the edit directive is removed.
To fix the problem I replaced (line 74 of source/org/jasig/portal/layout/dlm/LPAResetAttribute.java):
if (!name.equals(Constants.ATT_NAME))
{
ilfNode.setAttribute(name, fragmentValue);
}
with
if (DistributedLayoutManager.ContextHolder.labelPolicy == null || !name.equals(Constants.ATT_NAME))
{
ilfNode.setAttribute(name, fragmentValue);
} |
Show » |
|
In source/org/jasig/portal/layout/dlm/remoting/UpdatePreferencesServlet.java
In renameTab()
The following code does nothing:
StructureStylesheetUserPreferences ssup = upm.getUserPreferences()
.getStructureStylesheetUserPreferences();
ssup.setFolderAttributeValue(tabId, "name", tabName);
It just prints an error because name isn't stored in the folder attributes (looks like only widths).