Project

General

Profile

Actions

Bug #5468

closed

Ошибка при выборе документа в окне Documents Selection

Added by Anastasia Tugaenko over 9 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
12/04/2014
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Windows x86
Published in build:
0.17.211

Description

Открыть проект Requality. Выбрать документ в представлении Documents, в контекстном меню выбрать "Transfer Requirements from Previous Specification Version". Попробовать выбрать документ в открывшемся диалоговом окне.

Падает на строке 292 класса SelectNodeDialog
createButton.setEnabled(!selectedNode.isVirtual());
так как createButton равен null и в текущей версии вообще не инициализируется.
Поскольку строки 222-226
if (canCreateNodes()) {
labelString += " or ";
createButton = new Button(header, SWT.PUSH);
createButton.setText(TEXT_CREATE_REQUIREMENT);
createButton.addSelectionListener(createButtonListener);
}
не выполняются, из-за того, что canCreateNodes() всегда возвращает false.

Actions #1

Updated by Alexey Khoroshilov over 9 years ago

  • Target version set to 0.17
Actions #2

Updated by Denis Kildishev over 9 years ago

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

fixed in r3862 Добавлена проверка на canCreateNode()

Actions #3

Updated by Denis Kildishev over 9 years ago

  • Published in build set to 0.17.211
Actions #4

Updated by Viktoria Kopach over 9 years ago

  • Status changed from Resolved to Verified
Actions #5

Updated by Anastasia Tugaenko about 8 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF