*Synopsis*: [ku1] Declaring associative compound array does not work CR 6805800 changed on Oct 23 2009 by <User 1-7MTUEB>
=== Field ============ === New Value ============= === Old Value ============= Commit to Fix in Build snv_127 Status 7-Fix in Progress 6-Fix Understood ====================== =========================== =========================== *Change Request ID*: 6805800 *Synopsis*: [ku1] Declaring associative compound array does not work Product: solaris Category: shell Subcategory: korn93 Type: Defect Subtype: Status: 7-Fix in Progress Substatus: Priority: 3-Medium Introduced In Release: solaris_nevada Introduced In Build: snv_72 Responsible Engineer: <User 1-7MTUEB> Keywords: opensolaris, oss-request, oss-sponsor === *Description* ============================================================ Category shell Sub-Category korn Description The declaration for an associative array which contains compound variables as elements does somehow not work as expected: The following testcase... -- snip -- typeset -C -A hello19=( [19]=( one="xone 19" two="xtwo 19" ) [23]=( one="xone 23" two="xtwo 23" ) ) printf "|%s|\n" "${hello...@]}" -- snip -- ... should print: -- snip -- |( one='xone 19' two='xtwo 19' )| |( one='xone 23' two='xtwo 23' )| -- snip -- Frequency Always Regression No Steps to Reproduce Run testcase. Expected Result -- snip -- -- snip -- Actual Result -- snip -- |( one='xone 19' two='xtwo 19' )| |( one='xone 23' two='xtwo 23' )| -- snip -- Error Message(s) None. Test Case -- snip -- typeset -C -A hello19=( [19]=( one="xone 19" two="xtwo 19" ) [23]=( one="xone 23" two="xtwo 23" ) ) printf "|%s|\n" "${hello...@]}" -- snip -- Workaround Nonen. Additional configuration information Solaris 11/B106 *** (#1 of 1): 2009-02-16 03:35:10 GMT+00:00 <User 1-F4SZV> === *Public Comments* ======================================================== === *Workaround* ============================================================= === *Additional Details* ===================================================== Targeted Release: solaris_nevada Commit To Fix In Build: snv_127 Fixed In Build: Integrated In Build: Verified In Build: See Also: 6793763 Duplicate of: Hooks: Hook1: Hook2: Hook3: Hook4: Hook5: <email address omitted> Hook6: <email address omitted> Program Management: Root Cause: Insufficient Testing Fix Affects Documentation: No Fix Affects Localization: No === *History* ================================================================ Date Submitted: 2009-02-16 03:35:08 GMT+00:00 Submitted By: <User 1-F4SZV> Status Changed Date Updated Updated By 3-Accepted 2009-02-24 14:02:38 GMT+00:00 <User 1-1SURPB> 6-Fix Understood 2009-06-16 15:23:56 GMT+00:00 <User 1-1SURPB> 7-Fix in Progress 2009-10-23 18:18:14 GMT+00:00 <User 1-7MTUEB> === *Service Request* ======================================================== Impact: Significant Functionality: Secondary Severity: 3 Product Name: solaris Product Release: solaris_nevada Product Build: snv_106 Operating System: solaris_nevada Hardware: generic Submitted Date: 2009-02-16 03:35:10 GMT+00:00 === *Multiple Release (MR) Cluster* - 0 ======================================