Project

General

Profile

Actions

action #16596

closed

Unrelated error in OpenQA needle editor upon saving

Added by vsvecova about 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2017-02-08
Due date:
% Done:

0%

Estimated time:

Description

While working on fixing needles for the firefox_gnomeshell module in my local instance of OpenQA (dreamyhamster.suse.cz), I encountered the following error while saving the needle in the needle editor:
Unable to save needle: No areas defined.

The areas were specified though, and the needle was ready to be saved.

I tried the following to fix the issue:

  • open the editor again and recreate the same needle
  • log out of OpenQA and log in again
  • unchecking and checking back the relevant checkboxes The error persisted.

The needle eventually saved successfully when I selected the option in the field "Needle based on" to exactly match the field "Copy areas from".

The error message seems unrelated to the problem.


Files

Actions #1

Updated by okurz about 7 years ago

  • Category set to Regressions/Crashes

please take a look into the bug template https://progress.opensuse.org/projects/openqav3/wiki#defects

Do you know how to reproduce the issue?

Actions #2

Updated by vsvecova about 7 years ago

Hello Oliver, thanks for pointing me to the template.
I guess the issue is tricky to reproduce; it has happened to me a few times, seemingly at random occasions.

The error occurred when clicking the save button, while I was using the needle editor to create a new needle from an image based on a screenshot, with areas based on an older needle.

Last time I encountered the issue, I was trying to save the new needle with the "Needle based on" set to "None", while "Copy areas from" was populated with the old needle I was using as a basis. I eventually managed to save the needle without error after I selected the exact same options in the fields "Needle based on" and "Copy areas from", so I assume that this might be a clue here.

Actions #3

Updated by okurz almost 7 years ago

  • Target version set to Milestone 7
Actions #4

Updated by mkittler almost 7 years ago

  • Status changed from New to Feedback
  • Assignee set to mkittler

I can not reproduce this. Maybe the issue has already been fixed in one of the latest changes concerning the needle editor. Does the issue still occur? If yes, it would be useful if you provide the output of the browser developer console in addition to a screenshot with the selected options. Since you're using a local instance, you could also provide the output of the web server (journalctl -u openqa-webui).

Actions #5

Updated by mkittler almost 7 years ago

I'm not 100 % sure whether I could reproduce exactly this issue, but the following PR should likely fix it: https://github.com/os-autoinst/openQA/pull/1284

Actions #6

Updated by okurz almost 7 years ago

  • Status changed from Feedback to Resolved

Did not hear of any further occurences. Let's assume it's resolved.

Actions #7

Updated by vsvecova almost 7 years ago

Indeed, I have not encountered this issue lately, so it seems that the above mentioned fix worked.

Thank you, mkittler!

Actions

Also available in: Atom PDF