NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item9616: add new 1.1 Group topic forward compatibility to 1.0.10
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Urgent |
Closed |
Engine |
Groups |
|
Created a group topic on 1.1 using the API and then copied the topic to 1.0.9. The group iterator didn't appear to find any groups.
Code tested:
if ( Foswiki::Func::isGroup($name) ) {
return if exists $groups->{$name}; # don't reprocess groups
$groups->{$name} = $name;
my $it = Foswiki::Func::eachGroupMember($name);
while ( $it->hasNext() ) {
my $user = $it->next();
processName( $user, $users, $groups );
}
}
Group tested was:
META:TOPICINFO{author="BaseUserMapping_333" comment="reprev" date="1282943579" format="1.1" reprev="1" version="1"}%
Edit this topic to add a description to the !NotifyGroup
--
GeorgeClark - 04 Sep 2010
ok, I'm going to make 1.0.10 search only for
topic="*Group" rather than that and
"Set GROUP =" so taht 1.0.10 is compatible with 1.1.0.
looks like I incorrectly ass-u-me-d that I'd added the getPrefs(GROUP) to tmwiki years ago - when this is actually a new 1.1 thing - I'll continue to work to make 1.0.10 compaitble before i release it.
- search for topic=*Group
- use getPref(GROUP)
- add GroupView topic to topicusermapping
forward compatibility commited.
--
SvenDowideit - 04 Sep 2010