[Mortar Issues] Issue 103 in mortar: Edit Action Fails With Tags Installed When Model Has No Owner

0 views
Skip to first unread message

mor...@googlecode.com

unread,
Apr 27, 2010, 1:23:07 AM4/27/10
to mortar...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 103 by charlequin: Edit Action Fails With Tags Installed When
Model Has No Owner
http://code.google.com/p/mortar/issues/detail?id=103

What steps will reproduce the problem?
1. Create a new Mortar installation
2. Install the Graffiti module.
3. Turn on Tagging for Page models.
4. Attempt to edit one of the default Pages.

What is the expected output? What do you see instead?

Catchable fatal error: Argument 2 passed to GraffitiTagLookUp::getUserTags
() must implement interface Model, boolean given, called in /mortar/
modules/Graffiti/plugins/ModelFormTags.class.php on line 18 and defined
in /mortar/modules/Graffiti/classes/TagLookUp.class.php on line 119

I'm adding this as an issue because even though one fix is pretty easy
(just add a check to ModelFormTags) it raises a bigger issue -- shouldn't
every location have an owner? If not, shouldn't we have some specific
procedures in place to deal with non-owned locations?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Mortar Issues" group.
To post to this group, send email to mortar...@googlegroups.com.
To unsubscribe from this group, send email to mortar-issue...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mortar-issues?hl=en.

Reply all
Reply to author
Forward
0 new messages