Project

General

Profile

Bug #8717

Population does not work with unsafes marks in presets

Added by Ilja Zakharov about 1 year ago. Updated 12 months 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

Blocks Klever - Feature #8084: Add marks for testing and validation setsClosed2017-04-18

History

#1 Updated by Ilja Zakharov about 1 year ago

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

#2 Updated by Ilja Zakharov about 1 year 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.

#3 Updated by Ilja Zakharov about 1 year ago

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

#4 Updated by Vladimir Gratinskiy about 1 year ago

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

Fixed in fix_8717.

#5 Updated by Evgeny Novikov 12 months ago

  • Status changed from Resolved to Closed

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

Also available in: Atom PDF