[Bug 638907] New: YaPI::Users - ignoring user_attributes for type "system"
https://bugzilla.novell.com/show_bug.cgi?id=638907 https://bugzilla.novell.com/show_bug.cgi?id=638907#c0 Summary: YaPI::Users - ignoring user_attributes for type "system" Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: jsuchome@novell.com ReportedBy: mzugec@novell.com QAContact: jsrain@novell.com Found By: --- Blocker: --- When call GetUsers function, with "type"->"system", "user_attributes" option is ignored. This patch can fix it: Index: src/YaPI/USERS.pm =================================================================== --- src/YaPI/USERS.pm (revision 62482) +++ src/YaPI/USERS.pm (working copy) @@ -1314,7 +1314,7 @@ $ret = Users->GetUsers ($index, $type); # return only requested attributes... - if ($type eq "local" && $config->{"user_attributes"}) { + if (($type eq "local" || $type eq "system") && $config->{"user_attributes"}) { my $attrs = {}; foreach my $key (@{$config->{"user_attributes"}}) { $attrs->{$key} = 1; -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638907 https://bugzilla.novell.com/show_bug.cgi?id=638907#c Michal Zugec <mzugec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |638476 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638907 https://bugzilla.novell.com/show_bug.cgi?id=638907#c1 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Jiří Suchomel <jsuchome@novell.com> 2010-09-13 13:43:13 UTC --- Fixed for Factory; I hope that is enough. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638907 https://bugzilla.novell.com/show_bug.cgi?id=638907#c2 --- Comment #2 from Jiří Suchomel <jsuchome@novell.com> 2010-12-03 09:06:06 UTC --- Hm, as webYaST related, this should go to SLE11SP2 as well -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com