Tried to delete a page with HaloACL installed.
Recvd:
Catchable fatal error: Argument 1 passed to Article::__construct() must be
an instance of Title, null given, called in
/mnt/data/servers/wiki.hoyt.org/htdocs/w/extensions/HaloACL/includes/HACL_Pa
rserFunctions.php on line 767 and defined in
/mnt/data/servers/wiki.hoyt.org/htdocs/w/includes/Article.php on line 50

Looked in HACL_ParserFunctions and saw:
                        // If a protected article is deleted, its SD will be 
deleted as well
                        $sd =
HACLSecurityDescriptor::getSDForPE($article->getTitle()->getArticleID(),
                        HACLSecurityDescriptor::PET_PAGE);
                        if ($sd) {
                                $t = Title::newFromID($sd);
                                $a = new Article($t);
                                $a->doDelete("");
Under the Edit Source tab, it is reported that the page is "Unprotected".
There is no ACL:Page/xxxx which exists.
HOWEVER Special:HaloACL shows some weird lines, with (no title)s listed, as
'page acls' under the Mamage ACLs tab.
I suspect these weird lines are affecting this file that I want to delete.
1. How do I get rid of these weird lines in the Manage ACLs tab?
2. How do I circumvent the fatal error?
Thanks,
John


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to