[Bug 410048] New: YaST Documentation, YCP Language, The bracket operator, Mixed map/list access - Example is wrong
https://bugzilla.novell.com/show_bug.cgi?id=410048 Summary: YaST Documentation, YCP Language, The bracket operator, Mixed map/list access - Example is wrong Product: openSUSE.org Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: Minor Priority: P5 - None Component: Documentation AssignedTo: fs@novell.com ReportedBy: arthursv@linux.vnet.ibm.com QAContact: adrian@novell.com Found By: Other On the YaST documentation (SLES 11.1 as reference, but all docs I saw were wrong),in the "The YaST Programming Language - YCP" section, on Chapter 6.7.2.3 (Mixed map/list access), says: list <map <integer, integer> > list_of_maps = [ $[1:2], $[3:4], $[5:6] ]; // returns true return (list_of_maps[1,0]:0 == three); The return line is wrong (it's copied from another section of the documentation where this return is right, probably some copy and paste issue. An example for the return line to be right would be: // returns true return (list_of_maps[1,3]:0 == 4); Or to be more concise with other examples: list <map <integer, integer> > list_of_maps = [ $[0:1], $[2:3], $[4:5] ]; // returns true return (list_of_maps[1,2]:0 == three); -- 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=410048 User fs@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=410048#c1 Frank Sundermeyer <fs@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |arthursv@linux.vnet.ibm.com --- Comment #1 from Frank Sundermeyer <fs@novell.com> 2008-07-18 03:45:19 MDT --- Which YaST documentation? Do you have a URl? -- 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=410048 User arthursv@linux.vnet.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=410048#c2 Arthur Valadares <arthursv@linux.vnet.ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|arthursv@linux.vnet.ibm.com | --- Comment #2 from Arthur Valadares <arthursv@linux.vnet.ibm.com> 2008-07-21 06:43:59 MDT --- Hi, As far as I have noticed, all SLES YaST documentation has this issue. The URL can be: http://forgeftp.novell.com/yast/doc/SL11.1/tdg/bracket.html But you'll find the same issue on SL11.0 and SL10.0, SL10.1. etc. Check the url: http://forgeftp.novell.com/yast/doc/ for all docs. -- 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=410048 User fs@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=410048#c3 Frank Sundermeyer <fs@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|fs@novell.com |locilka@novell.com --- Comment #3 from Frank Sundermeyer <fs@novell.com> 2008-07-21 07:36:22 MDT --- Reassigning to locilka, who is responsible - this documentation is not maintained by the documentation team ;). -- 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=410048 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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=410048 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- 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=410048 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=410048#c4 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Lukas Ocilka <locilka@novell.com> 2008-08-05 05:25:43 MDT --- Fixed in these files: doc/SL10.1/tdg/bracket.html doc/SL10.2/tdg/bracket.html doc/SL10.3/tdg/bracket.html doc/SL11.0/tdg/bracket.html doc/SL11.1/tdg/bracket.html doc/SLES10/tdg/bracket.html doc/SLES10SP1/tdg/bracket.html .. and also in our SVN thanks -- 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