action #17666
closed
[tools]Failed to create needle - no areas defined
Added by mlin7442 over 6 years ago.
Updated over 6 years ago.
Category:
Regressions/Crashes
Description
observation¶
Trying to save a needle not based on any existing needle and not taking matches from other needles but with a matching area defined yields an error that "no areas are defined" while the json preview also shows correct content.
steps to reproduce¶
1) open needle editor
2) select Needle based on to None
3) unchecked "Take matches"
Now json is in a fresh state.
4) create matching area
5) add a tag
6) now the json preview shows proper tag and areas, saving needle
RED WARNING show up - Unable to save needle : no areas defined
problem¶
H1. needle editor broken
suggestion¶
- Debug
assets/javascripts/needleeditor.js
workaround¶
probably it helps to take any needle as template and/or select 'take matches' and then save.
further details¶
screenshot attached
Files
- Category set to Regressions/Crashes
additional information:
$ rpm -qi openQA
Name : openQA
Version : 4.4.1487185841.20f2a62
Release : 75.1
Architecture: noarch
Install Date: Thu 16 Feb 2017 05:37:45 PM CST
Group : Development/Tools/Other
Size : 5728636
License : GPL-2.0+
Signature : RSA/SHA256, Thu 16 Feb 2017 03:17:03 AM CST, Key ID 5b121667cbdf5e8f
Source RPM : openQA-4.4.1487185841.20f2a62-75.1.src.rpm
Build Date : Thu 16 Feb 2017 03:16:51 AM CST
Build Host : lamb20
Relocations : (not relocatable)
Vendor : obs://build.opensuse.org/devel:openQA
URL : http://os-autoinst.github.io/openQA/
Summary : The openQA web-frontend, scheduler and tools
Description :
The openQA framework consists of two parts, which are tracked in
separate git repos. The OS-autoinst test engine and the front-end
with web-interface, test-scheduler and other high-level logic, which
is part of this repo.
Distribution: devel:openQA / openSUSE_Leap_42.2
- Status changed from New to In Progress
I'll have a look at it. Seems like our tests are insufficient.
- Description updated (diff)
could also reproduce, reworked description
- Subject changed from Failed to create needle - no areas defined to [tools]Failed to create needle - no areas defined
- Status changed from In Progress to Resolved
- Target version set to Milestone 6
Merged and I confirm I can save needle as described in repro steps now.
same issue for me, when trying to create a needle it shows the error
though the json looks valid to me with proper areas defined
edit: Workaround works perfectly though
- Status changed from Resolved to Feedback
- Target version deleted (
Milestone 6)
- Status changed from Feedback to In Progress
- Status changed from In Progress to Feedback
Does it work on production a server (not sure whether the fix is already deployed)?
- Status changed from Feedback to Resolved
worked for me on production
Also available in: Atom
PDF