
| Key: |
UP-2091
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
Kevin Mayer
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
uPortal
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.
CGenericXSLT.java (17 kb)
2.
CGenericXSLT.patch (2 kb)
|
|
Environment:
|
SunOS 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Fire-V240
|
|
| Estimated End Date: |
18/Jun/08
|
|
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.
|
|
Description
|
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. |
Show » |
|
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