In group settings, there is an option to set a default category for any uncategorized objects edited by the object. This feature does not work.
Every time a page is edited, there is a call to create_staging in tiki-editpage.php
Inside this function (create_staging), there's another call to update_object_categories in categlib.php.
This update_object_categories function checks if any categories have been set. If not, it called get_user_group_default_category to find a the user's default category and appropiately set the object's category.
Now this is all fine and good, except for the fact that update_object_categories is never called because it is in a conditional block.
In order for update_object_categories to be called in create_staging, several unrelated features must be enabled, such as feature_wikiapproval.
I may have completely misinterpreted the code, seeing as I'm relatively new to php. If i'm completely wrong about this not working, please let me know how to get it working, because I've been trying to get default categorization of objects for ages now.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |