Project

General

Profile

Actions

Bug #8717

closed

Population does not work with unsafes marks in presets

Added by Ilja Zakharov about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Immediate
Category:
Bridge
Target version:
Start date:
02/12/2018
Due date:
02/13/2018
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

As we are going to save marks for tests in presets all these marks can already exist in Bridge, so it should not complain about this. But currently Bridge fails with the following exception if an unsafe mark from presets already exists:

==================================================
[12.Feb.2018 08:38:21] Unsafe mark with specified identifier exists in the system
Traceback (most recent call last):
File "/var/www/klever-bridge/bridge/views.py", line 62, in population
(service_username, request.POST.get('service_password'))
File "/var/www/klever-bridge/bridge/populate.py", line 72, in init
self.__population()
File "/var/www/klever-bridge/bridge/populate.py", line 86, in population
self.__populate_unsafe_marks()
File "/var/www/klever-bridge/bridge/populate.py", line 276, in _populate_unsafe_marks
res = UnsafeUtils.PopulateMarks(self.manager)
File "/var/www/klever-bridge/marks/UnsafeUtils.py", line 686, in __init

self._marks = self.
_get_data()
File "/var/www/klever-bridge/marks/UnsafeUtils.py", line 830, in __get_data
raise Exception('Unsafe mark with specified identifier exists in the system')
Exception: Unsafe mark with specified identifier exists in the system


Related issues 1 (0 open1 closed)

Blocks Klever - Feature #8084: Add marks for testing and validation setsClosedIlja Zakharov04/18/2017

Actions
Actions

Also available in: Atom PDF