Hi,
The patch, for filtering hosts from user list look good.
--Ramesh.
>>> <[EMAIL PROTECTED]> 04/23/07 11:30 PM >>>
Send ifolder- dev mailing list submissions to
ifolder- [EMAIL PROTECTED]
To subscribe or unsubscribe via the World Wide Web, visit
http://forge.novell.com/mailman/listinfo/ifolder- dev
or, via email, send a message with subject or body 'help' to
ifolder- dev- [EMAIL PROTECTED]
You can reach the person managing the list at
ifolder- dev- [EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of ifolder- dev digest..."
Today's Topics:
1. Re: [ANNOUNCE] iFolder 3.6 WinXP (beta) client available.
(Nitin Purswani)
2. 16k- File issue ... (Jan- Simon M?ller)
3. [PATCH] Filterout Hosts out of user list (Jacob Johnny)
----------------------------------------------------------------------
Message: 1
Date: Mon, 23 Apr 2007 00:07:27 - 0600
From: "Nitin Purswani" <[EMAIL PROTECTED]>
Subject: Re: [Ifolder- dev] [ANNOUNCE] iFolder 3.6 WinXP (beta) client
available.
To: "Sujatha Narasimhan" <[EMAIL PROTECTED]>
Cc: ifolder- [EMAIL PROTECTED]
Message- ID: <[EMAIL PROTECTED]>
Content- Type: text/plain; charset=US- ASCII
yes Sujatha is right there is some problem with old data directory and
new client but anyways we are looking in the matter and soon we will
found some way to resolve this thing, till then you have to delete the
old 3.2 data directory for new ifolder client working.
Thanks
Nitin
On Mon, 2007- 04- 23 at 00:00 - 0600, Sujatha Narasimhan wrote:
> The error "Object reference is not set" is thrown when the user already have
> ifolder (be it 3.6 or 3.2) on windows and when he tries to uninstall the
> older version and install the new client. We would suggest to remove the
> local store of the previous installation (remove the "simias" folder under
> "C:\Documents and Settings\<User>Local Settings\Application Data), before
> installing the new ifolder executables.
>
> Thanks,
> Suja
>
> >>> Joshua Gardynik <[EMAIL PROTECTED]> 4/23/2007 10:36 AM >>>
> I just installed it on a virgin XP 32- bit virtual machine and
> encountered no problems with it. My guess is that it's something we
> have installed that is conflicting with the client. My guess would
> almost be that it's the additional runtimes. This is still bad, because
> most people are going to have those runtimes, and the program needs to
> account for that. I'm going to start installing things tomorrow to see
> if I can break it.
>
> Josh
>
> Tim Uckun wrote:
> >>
> >>
> >> In my case, I'm always having the same error. Also after a reboot.
> >>
> >
> > Yes me too. It started right after the install, I never even got a
> > chance to configure it.
> >
> > Something is broke with the client, not just 3.6 but even the older
> > ones. Nobody seems to know why or what.
> >
> > Let's hope the 3.6 client is more stable or at least has better error
> > messages so we can try and diagnose the problem.
> >
> > "Object variable not set" doesn't give you much to go on.
>
> _______________________________________________
> ifolder- dev mailing list
> ifolder- [EMAIL PROTECTED]
> http://forge.novell.com/mailman/listinfo/ifolder- dev
>
> _______________________________________________
> ifolder- dev mailing list
> ifolder- [EMAIL PROTECTED]
> http://forge.novell.com/mailman/listinfo/ifolder- dev
------------------------------
Message: 2
Date: Mon, 23 Apr 2007 14:04:12 +0200
From: Jan- Simon M?ller <[EMAIL PROTECTED]>
Subject: [Ifolder- dev] 16k- File issue ...
To: "ifolder- dev Mailing list" <ifolder- [EMAIL PROTECTED]>
Message- ID: <[EMAIL PROTECTED]>
Content- Type: text/plain; charset="us- ascii"
Hi!
As Nitin said on irc, starting the simias- server with the script created by
simias- server- setup and not as through mod_mono with apache, solved the
problem here. I tested with the files i mentioned in the bug comment ( up to
3 MB).
The drawback is that /ifolder and /admin are only available with apache.
To bring all together again I changed the script generated by
simias- server- setup (named iFolder- opensuse here) from port 80 to port 82.
Then I added "proxy" and "proxy_http" to /etc/sysconfig/apache2.
Last I changed the /etc/apache2/conf.d/simias.conf to this:
opensuse102rc1:/usr/lib/apache2 # cat /etc/apache2/conf.d/simias.conf
#Include /etc/apache2/mod_mono.conf
#Alias /simias10 "/home/store//simias- server- 6810M//lib/simias/web"
#AddMonoApplications
simias10 "/simias10:/home/store//simias- server- 6810M//lib/simias/web"
#MonoSetEnv simias10 "SimiasRunAsServer=true;SimiasDataDir=/ifs/simias"
#<Location /simias10 >
# MonoSetServerAlias simias10
# Order allow,deny
# Allow from all
# SetHandler mono
#</Location>
# deactivated original config
ProxyRequests Off
<Proxy /simias10>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /simias10 http://127.0.0.1:82/simias10
ProxyPassReverse /simias10 http://127.0.0.1:82/simias10
Then starting the simias- server- script on one console and restarting apache.
Greets
Jan- Simon
------------------------------
Message: 3
Date: Mon, 23 Apr 2007 07:53:53 - 0600
From: "Jacob Johnny" <[EMAIL PROTECTED]>
Subject: [Ifolder- dev] [PATCH] Filterout Hosts out of user list
To: <ifolder- [EMAIL PROTECTED]>
Message- ID: <[EMAIL PROTECTED]>
Content- Type: text/plain; charset="us- ascii"
Hi,
Patch : Filter the hosts out of the user list for sharing.
(share list contains only users)
Please review.
Thanks
Johnny
-------------- next part --------------
Index: src/LinuxClient/library/iFolderUserSelector.cs
===================================================================
--- src/LinuxClient/library/iFolderUserSelector.cs (revision 6548)
+++ src/LinuxClient/library/iFolderUserSelector.cs (working copy)
@@ - 636,11 +636,13 @@
memberFullNames.Clear();
duplicateMembers.Clear();
+ int nonMemberElements = 0;
+
searchContext = SearchContext;
if (MemberList != null)
{
- for (int i = 0; i < MemberList.Length; i++)
+ for (int i = 0, j=0; i < MemberList.Length; i++)
{
MemberInfo memberInfo = MemberList[i];
@@ - 658,7 +660,14 @@
else
memberFullNames[memberInfo.FullName] = memberInfo.Name;
- memberInfos[i] = memberInfo;
+ if ( memberInfo.IsHost )
+ {
+ nonMemberElements++;
+ }
+ else
+ {
+ memberInfos[j++] = memberInfo;
+ }
}
if (MemberList.Length >= Total)
@@ - 668,7 +677,8 @@
}
}
- total = Total;
+ total = Total - nonMemberElements;
+ Console.WriteLine ("Johnny : iFolderUserSelector :
{0}", total);
}
public void CloseSearch()
-------------- next part --------------
Index: src/core/WebService/Simias.asmx.cs
===================================================================
--- src/core/WebService/Simias.asmx.cs (revision 6811)
+++ src/core/WebService/Simias.asmx.cs (working copy)
@@ - 162,7 +162,17 @@
/// <summary>
+ /// Whether this Member object is a user object.
/// </summary>
+ public bool IsHost;
+
+ /// <summary>
+ /// Property tag for User object.
+ /// </summary>
+ static private readonly string HostTag = "Host";
+
+ /// <summary>
+ /// </summary>
public MemberInfo()
{
}
@@ - 178,6 +188,7 @@
this.FullName = member.FN;
this.AccessRights = (int) member.Rights;
this.IsOwner = member.IsOwner;
+ this.IsHost = member.IsType (HostTag);
}
}
Index: src/core/WebService/Simias.wsdl
===================================================================
--- src/core/WebService/Simias.wsdl (revision 6811)
+++ src/core/WebService/Simias.wsdl (working copy)
@@ - 68,6 +68,7 @@
<xs:element minOccurs="0" maxOccurs="1" name="FullName"
type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="AccessRights"
type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="IsOwner"
type="xs:boolean" />
+ <xs:element minOccurs="1" maxOccurs="1" name="IsHost"
type="xs:boolean" />
</xs:sequence>
</xs:complexType>
<xs:element name="FindFirstMembersResponse">
------------------------------
_______________________________________________
ifolder- dev mailing list
ifolder- [EMAIL PROTECTED]
http://forge.novell.com/mailman/listinfo/ifolder- dev
End of ifolder- dev Digest, Vol 34, Issue 18
*******************************************
_______________________________________________
ifolder-dev mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/ifolder-dev