Ldap Exception being thrown in relatedsitesmode

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/1/2010 3:02:49 PM
Gravatar
Total Posts 18439

Re: Ldap Exception being thrown in relatedsitesmode

You need to sign out of the child site and sign in again after fixing it.

If at any time when you sign into the child site the login form says user id instead of email then the site is broken don't login, you will have errors, if you already logged in log out of the child site.

then login to the root site and go to site settings and save it. this will change the child site back correctly to useemailforlogin

now when you go back to the child site it should say email address not user id and it is now safe to login and no errors will happen.

and it should not revert back because of the code fix if you really have the latest code.

Might be good to clarify here exactly how you grabbed the latest code. You need to pull changes in repository explorer, then close repository explorer and right click the top folder and choose TortsoiseHG > Update, this will apply the changesets to your working copy, next rebuild solution.

Hope that helps,

Joe

9/1/2010 3:35:39 PM
Gravatar
Total Posts 130

Re: Ldap Exception being thrown in relatedsitesmode

Hi Joe,

Thanks for the instructions for applying the fix - it seems to be working.  I was not always logged out of the child site when I reset the settings on the Parent site and that must have been the issues.  I have been obtaining the most recent code from the repository as you suggested.

I really appreciate your help!

Sincerely,

Beth

9/1/2010 3:45:31 PM
Gravatar
Total Posts 18439

Re: Ldap Exception being thrown in relatedsitesmode

Hi Beth,

Glad to hear it! I should have been more clear sooner about signing out, the problem was with the bad settings it set the cookie wrong so signing out and signing in again after fixing the site data was needed to fix the authentication cookie.

Best,

Joe

9/7/2010 9:25:41 AM
Gravatar
Total Posts 130

Re: Ldap Exception being thrown in relatedsitesmode

Hi Joe,

Follow up: A couple of things I noticed this morning; I created another child site, applied a new custom role and the login was set to "UserID" even though I still have the parent site to login with email.  I logged out of the child site, resaved the parent site settings, which reset new child site to login by email and can now access everything.  This isn't happening unanimously because I created a child site on Friday and it didn't do this (all was after applying the new source code from the repository and following your instructions from earlier in this topic).

Also, on the child site I created on Friday (with the same permission settings as my other Site Editor Roles) the Admin navigation at the bottom is not including "Administration" - instead it has "Page List".  I find this confusing because in all of my other child sites with the same exact role/permission settings, after your other fix (http://www.mojoportal.com/Forums/Thread.aspx?thread=6231&mid=34&pageid=5&ItemID=5&pagenumber=1#post25575), list "Administration" along with the other Admin/Editor options.  In the child site mentioned that does not have the "Administration" link - I can still access the "Administration" menu itself by clicking on Page List -> Administration.

I think something funky might still be going on.

Best,

Beth

9/8/2010 5:58:38 AM
Gravatar
Total Posts 18439

Re: Ldap Exception being thrown in relatedsitesmode

Hi Beth,

I've added some extra logic that should ensure the child site gets the parent site/related site security settings whenever it is saved. Please let me know if it happens again after getting the latest.

At some point I really need to re-factor the site settings UI into several pages, there is really too much going on in that one page.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.