Bug 141151

Summary: Can't see iFolder Web Access link of iFolder3 in the Welcome page.
Product: [iFolder] iFolder Denali Reporter: Janet Liu <jliu>
Component: InstallAssignee: Kalidas Balakrishnan <bkalidas>
Status: VERIFIED WONTFIX QA Contact: Jared Allen <jpallen>
Severity: Major    
Priority: P5 - None CC: shinkichi.yamazaki
Version: iFolder DenaliKeywords: Code_Error
Target Milestone: 3.6   
Hardware: i386   
OS: OES - Linux   
Whiteboard:
Found By: i18n Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yujianlan_20051231_6.sxw

Description Janet Liu 2005-12-31 09:23:35 UTC
Server:
 OS: OES_YaST_GM(JP) + novell-ncp.i386.rpm
 Set parameter of Server:
 1. /etc/opt/novell/ncpserv.conf  LOCAL_CODE_PAGE CP932
 2. Locale Setting for user root  YaST → System → choose language →Japanese→ details → ctype Only → yes

Client:
 OS: Win2K SP4(JP)+IE6 SP1(JP)

Details:
 1. Configure the iFolder Web Access Server as the document says. See the picture yjl_20051231_6-1in the file yujianlan_20051231_6.sxw.
 2. In the welcome page, click iFolder3.

Result:
 Can't see iFolder Web Access link of iFolder3 in the right frame. See the picture yjl_20051231_6-2 in the file yujianlan_20051231_6.sxw.
Comment 1 Janet Liu 2005-12-31 09:23:57 UTC
Created attachment 61849 [details]
yujianlan_20051231_6.sxw
Comment 2 Gary King 2006-01-03 16:44:25 UTC
Moving to next release v3.4, out of time to fix this in OES SP2.
Comment 3 Rob Lyon 2006-01-03 17:05:42 UTC
The documentation does state that the YaST configuration should create the link on the welcome page, but I don't see it happening in any language.
Comment 4 Eric Ward 2006-01-04 17:34:51 UTC
This functionality has been broken since OES SP1. The root of the problem is the name of the following file has changed from 
/var/opt/novell/tomcat4/webapps/welcome/WEB-INF/XMLData/ifolder.xml

to

/var/opt/novell/tomcat4/webapps/welcome/WEB-INF/XMLData/ifolder3.xml

This causes the following script to fail during the Web Access YaST configuration

Ifolderwebaccess.ycp:297 sed_cmd if [ -e /var/opt/novell/tomcat4/webapps/welcome/WEB-INF/XMLData/ifolder.xml ]; then
                        sed -e 's|</ProductInformation>|    <WebLink> \
                            <WebLinkType>0</WebLinkType> \
                             <URLDescriptor>Open iFolder Web Access</URLDescriptor> \
                                <Login> \
                                    <URL>https://%*reqservername%/ifolder</URL> \
                                </Login> \
                            </WebLink> \
                                </ProductInformation> \
                                |g' < /var/opt/novell/tomcat4/webapps/welcome/WEB-INF/XMLData/ifolder.xml >

Solution: 
The Ifolderwebaccess.ycp needs to be updated to modify the ifolder3.xml file.

With both of the workarounds, keep in mind that the welcome page needs to be refreshed in the browser (ie Open a New Browser or refresh the Welcome page content by pressing F5 in the browser)

Workaround #1
In /usr/share/YaST2/modules/Ifolderwebaccess.ycp, modify the following line from

                string if3webaccesswelcome = sformat("%1/webapps/welcome/WEB-INF/XMLData/ifolder.xml",novell_tomcat_home);

to 

                string if3webaccesswelcome = sformat("%1/webapps/welcome/WEB-INF/XMLData/ifolder3.xml",novell_tomcat_home);

Then run the iFolder WebAccess YaST configuration

Workaround #2
- After configuring WebAccess in YaST modify the following file
/var/opt/novell/tomcat4/webapps/welcome/WEB-INF/XMLData/ifolder3.xml

Add the following section in the <ProductInformation></ProductInformation> section

    <WebLink>
         <WebLinkType>0</WebLinkType>
         <URLDescriptor>Open iFolder Web Access</URLDescriptor>
         <Login>
            <URL>https://%*reqservername%/ifolder</URL>
         </Login>
    </WebLink>

NOTE: change the <URL> context to whatever you specified in the WebAccess YaST configuration. The default is /ifolder.

Comment 6 Kalidas Balakrishnan 2007-04-24 14:08:54 UTC
OES 2 welcome page has changed the layout, so there is no iFolder web access link in the current layout