|
Bugzilla – Full Text Bug Listing |
| Summary: | using maplist on a nested structure in YCP seems to fail | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Uwe Gansert <ug> |
| Component: | YaST2 | Assignee: | Stanislav Visnovsky <visnov> |
| Status: | RESOLVED FIXED | QA Contact: | Klaus Kämpf <kkaempf> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | mvidner |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
example code
shorter test case |
||
|
Description
Uwe Gansert
2005-11-29 15:05:30 UTC
Created attachment 58966 [details]
example code
Created attachment 58983 [details]
shorter test case
This test case narrows down the problem. The issue is the bracket assignment operator, where first the left-hand-side map is evaluated, then the key and the new value, and then the map is augmented.
So if the new value has side effects that modify the LHS map, they are discarded.
Right Martin. Indeed the lhs was evaluated before the rhs. Fixing this is pretty straightforward. But what will break ? Fixed in STABLE. |