Re: [xwiki-users] Problem with deleted user - not fully deleted?

2011-06-03 Thread Scardino, Leonard R Jr ERDC-ITL-MS Contractor
Wow, such a simple solution.  That was it exactly.  Now I have no idea why
when I deleted the user it didn't delete the page, but it didn't.

Thank you very much.  I'm a HUGE fan of simple solutions.

Lenny



-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Caleb James DeLisle
Sent: Thursday, June 02, 2011 11:38 PM
To: XWiki Users
Subject: Re: [xwiki-users] Problem with deleted user - not fully deleted?

Hi, I can say for certain that the only thing which makes the user a part of
the wiki is the document XWiki.$username and it's contained object.
If that document is gone then there is no user. Of course that is dependent
on using the default authenticator.
If you are using a custom authenticator which still lets the user
authenticate then XWiki has no way of knowing that they don't exist, your
authenticator says they do.

What I can say is there is no users table in the database.

I hope this helps.

Caleb

On 06/02/2011 01:52 PM, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote:
> Well, it's good to know I'm not the only one.  Hopefully someone has 
> an idea and can be helpful.
> 
> Lenny
> 
> 
> 
> -Original Message-
> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
> Behalf Of Kevin P. Foote
> Sent: Thursday, June 02, 2011 12:50 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] Problem with deleted user - not fully deleted?
> 
> 
> Lenny,
> 
> I dont have an answer for you .. However, I have witnessed similar 
> behavior with my test xwiki install. (version 3.0)
> 
> I'm using, again, a custom XWikiAuthServiceImpl and have done similar 
> steps to reproduce almost identical outcome.
> 
> I too would like to know how to _fully_ remove the problem user from 
> the database. Either by a) removal within XWiki, b) SQL calls to the
database.
> 
> 
> Note: as mentioned above this is on my test install of xwiki so I have 
> not dedicated too much time to further exploring the issue.
> 
> --
> thanks
>   kevin.foote
> 
> On Wed, 1 Jun 2011, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote:
> 
> -> Bumping this because I still haven't found an answer on my own.  
> -> Anyone have any ideas that could help?
> -> 
> -> Lenny
> -> 
> -> -Original Message-
> -> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
> -> Behalf Of Scardino,Leonard R Jr ERDC-ITL-MS Contractor
> -> Sent: Wednesday, May 25, 2011 3:55 PM
> -> To: XWiki Users
> -> Subject: [xwiki-users] Problem with deleted user - not fully deleted?
> -> 
> -> version=2.7.33656
> -> 
> -> Ok, so I have a custom XWikiAuthServiceImpl login that after 
> -> authenticating via a smart card looks up a user from a database and
> creates a xwiki user.
> -> To verify it was working after some changes, I deleted a user that 
> -> previously could log in fine, and then had them try to log in again.
> -> They got a screen with no skin applied and an error "You are not 
> -> allowed to view this document or perform this action".  I did the 
> -> same for a different user, and they had no trouble at all, with 
> -> their user
> being created again just fine.
> -> 
> -> I looked in the admin console, and the user with the problem is not
> listed.
> -> So I tried creating the user with the problem by hand in the Admin 
> -> console, but it claims the user already exists.
> -> 
> -> Also, I have an output line in my extended XWikiAuthServiceImpl 
> -> code that tells me that it made it to that point.  Right after it 
> -> is an
> exception:
> -> "org.xwiki.velocity.XWikiVelocityException: Failed to evaluate 
> -> content with id [/templates/xwikivars.vm]"  I can't be sure it's 
> -> related,
> but seems to be.
> -> 
> -> Is there perhaps lingering user info in the database for this user?  
> -> If so, how do I get rid of it?  Or is it something else entirely?
> -> 
> -> Thanks for any help.
> -> 
> -> Lenny
> -> ___
> -> users mailing list
> -> users@xwiki.org
> -> http://lists.xwiki.org/mailman/listinfo/users
> -> ___
> -> users mailing list
> -> users@xwiki.org
> -> http://lists.xwiki.org/mailman/listinfo/users
> -> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki and Ozone widgets

2011-06-03 Thread Marius Dumitru Florea
Hi Alina,

On 06/01/2011 04:51 PM, afrey wrote:
> I am using XWiki (3.0) to display (using iframes) a couple of Ozone widgets
> as Common Map Widget, Common Query widget, and Data Generator. Ozone and
> XWiki are running on two different machines.
> I am able to see the query results on the map, but when in the Wysiwyg mode
> I'm not able to display them. Could anyone that is familiar with the Ozone
> Widget Framework suggest what do I need to do in order to accomplish that?

Besides the iframes, do you use any JavaScript code to display the Ozone 
widgets? The wysiwyginput.vm used to generate the input for the WYSIWYG 
editor doesn't include javascript.vm and thus none of the JavaScript 
extensions. Besides that, the WYSIWYG editor shouldn't have problems 
displaying iframes. You can test with a page that contains:

{{html}}http://www.google.com";>{{/html}}

Hope this helps,
Marius

>
> Thank you,
>
> Alina.
>
> -
> - Alina.
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/XWiki-and-Ozone-widgets-tp6427000p6427000.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users