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

Key: UP-2091
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Kevin Mayer
Votes: 0
Watchers: 0
Operations

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

CGenericXSLT.setStaticData contains duplicate test conditions for CHANNEL_CACHE_KEY_SYSTEM_SCOPE

Created: 17/Jun/08 12:43 PM   Updated: 17/Jun/08 01:28 PM
Component/s: Framework
Affects Version/s: 2.6.1
Fix Version/s: None

Original Estimate: 1 hour Remaining Estimate: 0 minutes Time Spent: 1 hour
File Attachments: 1. Java Source File CGenericXSLT.java (17 kb)
2. Text File CGenericXSLT.patch (2 kb)

Environment: SunOS 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Fire-V240

Estimated End Date: 18/Jun/08


 Description  « Hide
uPortal 2.6.1 CGenericXSLT.setStaticData contains contains an if/else if
statement with the same conditions:
if(trimmedCacheScopeText.equals(ICacheable.CHANNEL_CACHE_KEY_SYSTEM_SCOPE)) {this.channelCacheScope = ChannelCacheKey.SYSTEM_KEY_SCOPE;
} else if
(trimmedCacheScopeText.equals(ICacheable.CHANNEL_CACHE_KEY_SYSTEM_SCOPE)) {this.channelCacheScope = ChannelCacheKey.INSTANCE_KEY_SCOPE;
}

Will provide patch to change the second condition to test for
CHANNEL_CACHE_KEY_INSTANCE_SCOPE.

 All   Comments   Work Log   Change History      Sort Order:
Kevin Mayer [17/Jun/08 01:26 PM]
CGenericXSLT.patch is the patch file
CGenericXSLT.java is the corrected file
summary of changes: changed line 198 from ICacheable.CHANNEL_CACHE_KEY_SYSTEM_SCOPE to ICacheable.CHANNEL_CACHE_KEY_INSTANCE_SCOPE