Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# El Gringo 1/9/2007 8:21 AM
Hello,

I am testing the revision 552 (actual) and found out that you cannot create new Articles. Once you press "New Article" you get:
"Unable to get Categories"
Exception.Message
ex = {"in expected: c [select distinct c from Category c, Cuyahoga.Modules.Articles.Domain.Article a where a.Category = c and a.Section.Node.Site.Id = :siteId]"} {1#}
To confirm this I tried it on a complete fresh installation without creating the demo content. But it happened again.
Is this a bug (in this case I will take it to the JIRA) or am I just too stupid? :)

Best regards

Ricardo
# martijnb 1/9/2007 10:33 AM
It's very unfortunate that you've just checked out the current SVN version. I'm busy refactoring the Articles module.

The error you get is caused by the fact that auto-import in the mapping of the Category class is set to false (because we now also have a global Category class). The hql queries still need to be fixed to reflect that change. I'll do that immediately, so at least the module works.
# Kixo 1/22/2007 4:04 PM
This error still exists...
# martijnb 1/22/2007 5:15 PM
I just comitted a new version of the Articles module. Note that it's still work in progress, but at least the issue that was mentioned in this thread is fixed.