[Bug 756303] New: fillup does not work with array variables
https://bugzilla.novell.com/show_bug.cgi?id=756303 https://bugzilla.novell.com/show_bug.cgi?id=756303#c0 Summary: fillup does not work with array variables Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: luizluca@tre-sc.gov.br QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.151 Safari/535.19 Hello, /bin/fillup does not consider the existence of array variables (i.e: VAR[3]). It just fill it the first time and remove it the next time and so on. Please, fix this issue with fillup. I can use fillup -x (in order to replace all contents) but this is not ideal. Also, %fillup_only rpm macro does not allow me to pass arguments, so I cannot use it. Reproducible: Always Steps to Reproduce: 1.Use this template: #Simple VAR VAR1=abc #Array VAR VAR2[0]=abc VAR2[1]=123 2. touch test; fillup -q test test.template 3. check the test file 4. touch test; fillup -q test test.template 5. check the test file 6. touch test; fillup -q test test.template 7. check the test file Actual Results: At step 3, file has the array vars. At step 5, file does not have the array vars. At step 7, file has again the array vars. Expected Results: At step 3, file has the array vars. At step 5, file should keep the array vars, keeping its changes. At step 5, file should keep the array vars, keeping its changes. It removes all occurrences of VAR2, even when using index out of template range. However, it keeps the content when the VAR array is not include in template. -- 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=756303 https://bugzilla.novell.com/show_bug.cgi?id=756303#c1 kk zhang <kkzhang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@novell.com AssignedTo|bnc-team-screening@forge.pr |mhrusecky@suse.com |ovo.novell.com | --- Comment #1 from kk zhang <kkzhang@novell.com> 2012-04-11 06:09:16 UTC --- Hi,could you please help to have a look this?I am not sure whether it is right to assign it to you.Feel free to reassign it.Thank you. -- 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