SF and HaloACL does not allow autocompletion

View: New views
3 Messages — Rating Filter:   Alert me  

SF and HaloACL does not allow autocompletion

by David Riepl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi everyone,

I just tried the HaloACL-Extension on my wiki, but enabling it seems to  
disable the autocompletion on category/concept/properties in my Forms.
Is there any special ACL-parameter to be set to allow the  
SF-autocompletion-functions which I missed?
So far I didn't create any groups or rights in HaloACL.

I'm running:
MediaWiki: 1.15.1
Semantic MediaWiki: 1.4.3
Semantic Forms 1.8.4
SMWHalo Extension: 1.4.5
and I applied the SVN Halo patches for the above versions of MW and SMW



Best regards
David



--
Karlsruher Institut für Technologie (KIT)
Institut für Angewandte Geowissenschaften - Lehrstuhl für Hydrogeologie

Dipl.-Goek. David Riepl
Wissenschaftlicher Angestellter

Adenauerring 20b, Gebäude 50.40
76131 Karlsruhe
+49 (0)721 608 - 7684
+49 (0)721 606 279

riepl@...
www.agk.uni-karlsruhe.de

KIT - Universität des Landes Baden-Württemberg und
nationales Großforschungszentrum in der Helmholtz-Gemeinschaft

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Re: SF and HaloACL does not allow autocompletion

by Stephan Robotta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello David,

On Thu, Nov 05, 2009 at 10:42:59AM +0100, David Riepl wrote:
>
> I just tried the HaloACL-Extension on my wiki, but enabling it seems to  
> disable the autocompletion on category/concept/properties in my Forms.

So it worked before in an older version?

> Is there any special ACL-parameter to be set to allow the  
> SF-autocompletion-functions which I missed?
> So far I didn't create any groups or rights in HaloACL.
>
> I'm running:
> MediaWiki: 1.15.1
> Semantic MediaWiki: 1.4.3
> Semantic Forms 1.8.4
> SMWHalo Extension: 1.4.5
> and I applied the SVN Halo patches for the above versions of MW and SMW

Patches should also applied to SF. SMWHalo 1.4.5 is complatible to SF
1.8.3 only. The patches will probably not work on 1.8.4.
However the Halo autocompletion in SF is done with parser hooks of
Semantic forms and do not depend on the patches, so this should work in
1.8.4 as well.

I assume your input fields in the form definition in Semantic Forms
are haloACtext and haloACtextarea.

Does the red ajax loader image comes up? If not, can you check the
error console of any javascript error messages, that might give a hint?

best regards,
Stephan

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Re: SF and HaloACL does not allow autocompletion

by David Riepl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

thanks for your reply Stephan and sorry for late response, but I just now  
found time to have another look into the problem.

Am 05.11.2009, 11:33 Uhr, schrieb Stephan Robotta <robotta@...>:

> Hello David,
>
> On Thu, Nov 05, 2009 at 10:42:59AM +0100, David Riepl wrote:
>>
>> I just tried the HaloACL-Extension on my wiki, but enabling it seems to
>> disable the autocompletion on category/concept/properties in my Forms.
>
> So it worked before in an older version?

I was actually talking about the "autocompletion on category=..."  
parameter of Semantic Forms (not Halo autocompletion!), and without the  
HaloACL it works just fine in the forms, but stops when enabling HaloACL  
in my Localsettings.

>
>> Is there any special ACL-parameter to be set to allow the
>> SF-autocompletion-functions which I missed?
>> So far I didn't create any groups or rights in HaloACL.
>>
>> I'm running:
>> MediaWiki: 1.15.1
>> Semantic MediaWiki: 1.4.3
>> Semantic Forms 1.8.4
>> SMWHalo Extension: 1.4.5
>> and I applied the SVN Halo patches for the above versions of MW and SMW
>
> Patches should also applied to SF. SMWHalo 1.4.5 is complatible to SF
> 1.8.3 only. The patches will probably not work on 1.8.4.
> However the Halo autocompletion in SF is done with parser hooks of
> Semantic forms and do not depend on the patches, so this should work in
> 1.8.4 as well.
>
Now again I installed the latest builds from the dailywikibiulds-server  
and all above mentioned patches. Also tried different browsers.

> I assume your input fields in the form definition in Semantic Forms
> are haloACtext and haloACtextarea.
>
I wasn't aware of those input-types, but as I tried them now they don't  
affect the problem.

> Does the red ajax loader image comes up? If not, can you check the
> error console of any javascript error messages, that might give a hint?
>
The error console doesn't give any related messages.

> best regards,
> Stephan


As far as I understand, HaloACL rewrites the queries given on pages to  
check for rights, however it seems to me that on calling the form it  
supresses the "get pages in category"-query, that is necessary for the  
"autocompletion on category=..." parameter of Semantic Forms. But maybe  
I'm completly wrong, since strangly, the "values from  
category=..."-parameter of SF still works fine with ACL enabled...?

Can anyone recreate this bug? Or is it just with my installation?

Best regards
David

>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Semediawiki-user mailing list
> Semediawiki-user@...
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user



--
Karlsruher Institut für Technologie (KIT)
Institut für Angewandte Geowissenschaften - Lehrstuhl für Hydrogeologie

Dipl.-Goek. David Riepl
Wissenschaftlicher Angestellter

Adenauerring 20b, Gebäude 50.40
76131 Karlsruhe
+49 (0)721 608 - 7684
+49 (0)721 606 279

riepl@...
www.agk.uni-karlsruhe.de

KIT - Universität des Landes Baden-Württemberg und
nationales Großforschungszentrum in der Helmholtz-Gemeinschaft

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user