Ticket #1241 (new defect)

Opened 7 months ago

Last modified 7 months ago

Jaws doesn't show the category

Reported by: markuz@islascruz.org Assigned to: jaws-bugs@lists.jaws-project.com
Priority: normal Milestone: 0.9.0
Component: Gadgets / Blog Version: 0.8.9
Severity: normal Keywords: gadget blog category show
Cc:

Description

I did an upgrade to the latest Jaws and when trying to get the categories there is nothing but the pagination links. After looking in the code I found that the entries are checked against a Jaws error, when using print_r to that error I've got this:

There was an error getting entries by category [_Code] => Blog [_Level] => 2 )

I don't know what does this mean, this check is done in the ShowCategory? method in HTML.php in the Blog Gadget, more or less in the line number 1348.

Attachments

Change History

08/18/09 07:35:57 changed by markuz@islascruz.org

Sorry to follow myself, but I know why my jaws setup doesn't show the categories, Is because MySQL is complianing about the Inner Join in Blogs/Model.php GetEntriesIDInCategory method. category_id is ambiguous for blog_entrycat and blog. Just prepending

Error: Failed to load processor blog_entrycat
No macro or processor named 'blog_entrycat' found

to the query solve the problem.

I don't attach any patche because this is not done in the svn and may not apply, or maybe I'm just getting this thing worse :-). Anyway, if you need it just tell me :-)


Add/Change #1241 (Jaws doesn't show the category)




Change Properties
Action