Project

General

Profile

Bug #4018

После перемещения узлов Undo срабатывает с ошибкой

Added by Viktoria Kopach over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
03/20/2013
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.14.177
Platform:
Windows x64
Published in build:
0.14.178

Description

1. В приложенном проекте перемещаем (не копируем, а перемещаем) требование 01 в требование req06.
2. Появляется предложение переименовать узел. соглашаемся.
Требование переместилось.
3. Делаем ctrl+z.
Возникает ошибка:


Files

problem_occured.png (24.2 KB) problem_occured.png Viktoria Kopach, 03/20/2013 07:19 PM
Project02.zip (12.1 KB) Project02.zip Viktoria Kopach, 03/22/2013 11:44 AM

Associated revisions

Revision 3198 (diff)
Added by Denis Kildishev over 6 years ago

fixes #4018: There was a bug related to actions while changing parent - old code changes id in old parent and then moves node to new parent. But if old parent already contains node with that name, bug happens. Solved by temporary renaming node by id generated according to 2 parents

Revision 8c3cba24 (diff)
Added by Denis Kildishev over 6 years ago

fixes #4018: There was a bug related to actions while changing parent - old code changes id in old parent and then moves node to new parent. But if old parent already contains node with that name, bug happens. Solved by temporary renaming node by id generated according to 2 parents

git-svn-id: https://forge.ispras.ru/svn/reqdb/trunk/requality@3198 f558eac1-05b1-4da7-9ed5-5050e8a619d6

Revision 3198 (diff)
Added by Denis Kildishev over 6 years ago

fixes #4018: There was a bug related to actions while changing parent - old code changes id in old parent and then moves node to new parent. But if old parent already contains node with that name, bug happens. Solved by temporary renaming node by id generated according to 2 parents

History

#1

Updated by Denis Kildishev over 6 years ago

а приложенный проект где?

#2

Updated by Viktoria Kopach over 6 years ago

Пардон. Приложила.

#3

Updated by Denis Kildishev over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3198.

#4

Updated by Андрей Третьяков over 6 years ago

  • Assignee set to Denis Kildishev
  • Target version set to 0.14
  • Published in build set to 0.14.178
#5

Updated by Viktoria Kopach over 6 years ago

Теперь ошибки не возникает, но требование 01, которое после перемещения в req06 переименовывается в 08, после Undo возвращается на свое место, но все еще с идентификатором 08. То есть местоположение возвращается, а имя - нет. На это будет отдельный тикет.

#6

Updated by Viktoria Kopach over 6 years ago

  • Status changed from Resolved to Verified
#7

Updated by Alexey Khoroshilov about 6 years ago

  • Status changed from Verified to Closed

Also available in: Atom PDF