Just noticed that {group_id} doesn’t always return the group id of the currently logged in user - when used within a channel entries loop it seems to return the group of the entry author… Is this a bug?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
February 01, 2011 12:21am
Subscribe [3]#1 / Feb 01, 2011 12:21am
Just noticed that {group_id} doesn’t always return the group id of the currently logged in user - when used within a channel entries loop it seems to return the group of the entry author… Is this a bug?
#2 / Feb 01, 2011 2:45am
And while I’m here, another bug - after I upload a file in the file manager, and then go to upload another, it tells me ‘you did not specify a file to upload’ even though it actually has uploaded successfully. Works fine if I reload the page.
#3 / Feb 01, 2011 4:21pm
Just noticed that {group_id} doesn’t always return the group id of the currently logged in user - when used within a channel entries loop it seems to return the group of the entry author… Is this a bug?
No, it’s a scope issue; {logged_in_group_id} should work everywhere, though.
And while I’m here, another bug - after I upload a file in the file manager, and then go to upload another, it tells me ‘you did not specify a file to upload’ even though it actually has uploaded successfully. Works fine if I reload the page.
What version and build of EE are you using?
#4 / Feb 01, 2011 5:36pm
Cheers Ingmar, am using the latest version, 2.1.3. Not a biggie since it still uploads but thought I’d mention it.
#5 / Feb 02, 2011 10:26am
Hi, DaveNZ. The file upload bug is a known issue with EE 2.1.3. I haven’t tested it with 2.1.4 yet, but it’s on my to do list for today.