Bug ID | 1167654 |
---|---|
Summary | [Build20200322] nfs.rb failed with 'undefined method `[]=' for nil:NilClass' (NoMethodError) |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | YaST2 |
Assignee | yast2-maintainers@suse.de |
Reporter | jrivrain@suse.com |
QA Contact | jsrain@suse.com |
Found By | --- |
Blocker | --- |
Created attachment 833836 [details]
y2logs
When pressing "cancel" after trying to add some nfs share, we get this :
2020-03-25 08:22:58 <3> susetest(5447) [Ruby] yast/wfm.rb:253 Client
/usr/share/YaST2/clients/nfs.rb failed with 'undefined method `[]=' for
nil:NilClass' (NoMethodError).
Backtrace:
/usr/share/YaST2/include/nfs/ui.rb:481:in `GetFstabEntry'
/usr/share/YaST2/include/nfs/ui.rb:613:in `HandleEvent'
/usr/share/YaST2/include/nfs/ui.rb:707:in `block in FstabDialog'
/usr/share/YaST2/include/nfs/ui.rb:697:in `loop'
/usr/share/YaST2/include/nfs/ui.rb:697:in `FstabDialog'
/usr/share/YaST2/include/nfs/wizards.rb:22:in `MainSequence'
/usr/share/YaST2/include/nfs/wizards.rb:30:in `block in NfsSequence'
/usr/lib64/ruby/vendor_ruby/2.6.0/yast/builtins.rb:546:in `eval'
/usr/share/YaST2/modules/Sequencer.rb:249:in `WS_run'
/usr/share/YaST2/modules/Sequencer.rb:320:in `block in Run'
/usr/share/YaST2/modules/Sequencer.rb:312:in `loop'
/usr/share/YaST2/modules/Sequencer.rb:312:in `Run'
/usr/share/YaST2/include/nfs/wizards.rb:44:in `NfsSequence'
/usr/lib64/ruby/vendor_ruby/2.6.0/yast/fun_ref.rb:33:in `call'
/usr/lib64/ruby/vendor_ruby/2.6.0/yast/fun_ref.rb:33:in `call'
/usr/share/YaST2/modules/CommandLine.rb:1556:in `Run'
/usr/share/YaST2/clients/nfs.rb:122:in `main'
/usr/share/YaST2/clients/nfs.rb:349:in `<top (required)>'
/usr/lib64/ruby/vendor_ruby/2.6.0/yast/wfm.rb:318:in `eval'
/usr/lib64/ruby/vendor_ruby/2.6.0/yast/wfm.rb:318:in `run_client'
/usr/lib64/ruby/vendor_ruby/2.6.0/yast/wfm.rb:206:in `call_builtin'
/usr/lib64/ruby/vendor_ruby/2.6.0/yast/wfm.rb:206:in `call_builtin_wrapper'
/usr/lib64/ruby/vendor_ruby/2.6.0/yast/wfm.rb:195:in `CallFunction'
/usr/lib/YaST2/bin/y2start:60:in `<main>'
See full logs attached.