Project

General

Profile

Bug #5467

Ошибка при разворачивании Documents (нажимании на треугольник слева)

Added by Anastasia Tugaenko over 5 years ago. Updated over 4 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

Во время выполнения метода compare в классе TreeNodeComparator происходит переполнение int-a в строке 53
in1 = Integer.parseInt(nu1.toString());

Например, падает при сравнении названий имен файлов
es_20187301v040501p_part4_head_6.doc.xhtml
и
es_20187301v040601p_part4_head_6.doc.xhtml
так как пытается привести к Integer строку '20187301040501'

Associated revisions

Revision 3864 (diff)
Added by Denis Kildishev over 5 years ago

fixes #5467; now compares strings instead of numbers but by numbers comparing rules

Revision 27451556 (diff)
Added by Denis Kildishev over 5 years ago

fixes #5467; now compares strings instead of numbers but by numbers comparing rules

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

Revision 3864 (diff)
Added by Denis Kildishev over 5 years ago

fixes #5467; now compares strings instead of numbers but by numbers comparing rules

History

#1

Updated by Alexey Khoroshilov over 5 years ago

  • Target version set to 0.17
#2

Updated by Denis Kildishev over 5 years ago

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

Applied in changeset r3864.

#3

Updated by Denis Kildishev over 5 years ago

  • Published in build set to 0.17.211
#4

Updated by Viktoria Kopach over 5 years ago

  • Status changed from Resolved to Verified

Настя проверила, все ОК.

#5

Updated by Alexey Khoroshilov over 4 years ago

  • Status changed from Verified to Closed

Also available in: Atom PDF