patch: group_id2name method

0 views
Skip to first unread message

John SJ Anderson

unread,
Mar 20, 2008, 6:08:52 AM3/20/08
to hivemin...@googlegroups.com
It looks like something like this method will required for working
with groups -- things like CreateTask want a group ID, not a group
name. Considered having it throw an exception if the name wasn't
found, but returning undef seemed more in line with the rest of the
methods.

thanks,
john.

group_name2id.diff

Sartak

unread,
Mar 20, 2008, 4:53:52 PM3/20/08
to hivemin...@googlegroups.com

I fixed this at the server level. :) The fix will be live soon.

> thanks,
> john.

Shawn

John SJ Anderson

unread,
Mar 20, 2008, 5:04:55 PM3/20/08
to hivemin...@googlegroups.com
> I fixed this at the server level. :) The fix will be live soon.

Does that mean you can just pass in a group name for group_id, or is
there a 'group' or 'group_name' parameter now?

thanks,
john.

Sartak

unread,
Mar 20, 2008, 8:03:51 PM3/20/08
to hivemin...@googlegroups.com
On 3/20/08, John SJ Anderson <gene...@gmail.com> wrote:
>

You'll be able to pass in a name to group_id. We shouldn't need the
_id, but that's more a vestige of how young the web framework we use
(Jifty) was when Hiveminder was starting out. :)

I might compensate for it in Net::Hiveminder.

> thanks,
> john.

Shawn

Reply all
Reply to author
Forward
0 new messages