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

Key: UP-1765
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Eric Dalquist
Reporter: Bob Finch
Votes: 0
Watchers: 0
Operations

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

xhtml-theme.sdf is out of date with respect to data loaded by ant initportal

Created: 02/Jul/07 05:59 PM   Updated: 29/Aug/07 05:31 PM
Component/s: Database
Affects Version/s: 2.6.0 RC2
Fix Version/s: 2.6.0 GA

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
xhtml-theme.sdf does not match data loaded by dbLoader during ant initportal. Registering a theme based on xhtml-theme using xhtml-theme.sdf as a template will cause the Preferences channel to throw an error:

org.apache.xml.utils.WrappedRuntimeException: Could not find variable with the name of PROFILE_NAME

Patch follows:

*** org/jasig/portal/layout/tab-column/xhtml-theme/xhtml-theme.sdf Mon Jul 2 12:50:47 2007
--- new-xhtml-theme.sdf Mon Jul 2 14:50:13 2007
***************
*** 3,15 ****
  <stylesheetdescription>
    <name>XHTML Theme</name>
    <description>Renders tabs and columns using nested divs</description>
! <parentStructureStylesheet>DLM Tabs and columns</parentStructureStylesheet>
    <mimeType>text/html</mimeType>
    <serializer>XHTML</serializer>
    <deviceType>workstation</deviceType>
    <samplePictureURI>media/org/jasig/portal/layout/tab-column/xhtml-theme/sample_full.gif</samplePictureURI>
    <sampleIconURI>media/org/jasig/portal/layout/tab-column/xhtml-theme/sample_icon.gif</sampleIconURI>
! <userPreferencesModuleClass>org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState</userPreferencesModuleClass>
   
    <parameters>
     <parameter name="skin">
--- 3,15 ----
  <stylesheetdescription>
    <name>XHTML Theme</name>
    <description>Renders tabs and columns using nested divs</description>
! <parentStructureStylesheet>Tabs and columns</parentStructureStylesheet>
    <mimeType>text/html</mimeType>
    <serializer>XHTML</serializer>
    <deviceType>workstation</deviceType>
    <samplePictureURI>media/org/jasig/portal/layout/tab-column/xhtml-theme/sample_full.gif</samplePictureURI>
    <sampleIconURI>media/org/jasig/portal/layout/tab-column/xhtml-theme/sample_icon.gif</sampleIconURI>
! <userPreferencesModuleClass>org.jasig.portal.channels.UserPreferences.TabColumnPrefsState</userPreferencesModuleClass>
   
    <parameters>
     <parameter name="skin">


 All   Comments   Work Log   Change History      Sort Order:
Eric Dalquist [06/Aug/07 11:38 AM]
The sdf in SVN matches new-xhtml-theme.sdf from the patch.

I'm assuming the changes should be:
parentStructureStylesheet -> DLM Tabs and columns
userPreferencesModuleClass -> org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState


Bob Finch [06/Aug/07 11:56 AM]

Yep.

– Bob

------------------------------------------------------------------------
variable
<samplePictureURI>media/org/jasig/portal/layout/tab-column/xhtml-
<userPreferencesModuleClass>org.jasig.portal.channels.DLMUserPreferences
.T
<samplePictureURI>media/org/jasig/portal/layout/tab-column/xhtml-
<userPreferencesModuleClass>org.jasig.portal.channels.UserPreferences.Ta
bC
administrators:
http://www.atlassian.com/software/jira


Eric Dalquist [06/Aug/07 12:04 PM]
Fixed data in sdf