Project

General

Profile

Actions

Bug #1255

closed

TreeDB.createChildNode может возращать null

Added by Vladimir Fedotov over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Yuriy Shekochihin
Category:
-
Target version:
Start date:
05/24/2011
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Detected in build:
svn
Platform:
Published in build:
0.11.77

Description

Для повторения:
1. Создать новый проект

Ожидалось либо IllegalArgumentException, либо TreeNode.

Доп. инфо:
При создании нового проекта, createChildNode как минимум два раза возвращает null, тем не менее проект успешно создается.


Subtasks 1 (0 open1 closed)

Task #1274: Review requestClosedYuriy Shekochihin05/24/2011

Actions
Actions #1

Updated by Vladimir Fedotov over 13 years ago

Первопричина в том, что вызов createChild выполняется в другом потоке.

Actions #2

Updated by Vladimir Fedotov over 13 years ago

В TreeDB.getNode:
if (cache.get(uuid) == null && storage.canLoad(uuid)) всегда null при первом вызове

Actions #3

Updated by Vladimir Fedotov over 13 years ago

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

Applied in changeset r1908.

Actions #4

Updated by Yuriy Shekochihin over 13 years ago

  • Published in build set to 0.11.77
Actions #5

Updated by Alexey Khoroshilov over 13 years ago

  • Target version set to 0.11
Actions #6

Updated by Alexey Demakov over 13 years ago

  • Assignee set to Yuriy Shekochihin

Насколько я понял, исправления сделаны и code review проведено. Тогда можно закрывать.

Actions #7

Updated by Alexey Demakov over 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF