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 #1

Updated by Ilja Zakharov about 6 years ago

But at population Bridge still should complain if an existing mark is not from presets.

Actions #2

Updated by Ilja Zakharov about 6 years ago

  • Priority changed from Urgent to Immediate

Actually, it blocks several other issues that I would like to test and merge together, so this is quite an important bug.

Actions #3

Updated by Ilja Zakharov about 6 years ago

  • Blocks Feature #8084: Add marks for testing and validation sets added
Actions #4

Updated by Vladimir Gratinskiy about 6 years ago

  • Due date set to 02/13/2018
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Fixed in fix_8717.

Actions #5

Updated by Evgeny Novikov about 6 years ago

  • Status changed from Resolved to Closed

I merged this branch to master in 6d71b32 as a part of branch clean_dir2.

Actions

Also available in: Atom PDF