Project

General

Profile

Bug #658

Feature #1427: Поддержка командной работы через svn

Чтение json файлов с конфликтами

Added by Alexey Demakov over 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
Start date:
01/11/2011
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.7.50
Platform:
Published in build:
0.13.124

Description

После svn up в json файлах могут возникать конфликты. До их разрешения нельзя пытаться читать json-информацию из таких файлов, потому что структура нарушена и будет что-то вроде:

org.json.JSONException: Expected a ':' after a key at 237 [character 238 line 1]
at org.json.JSONTokener.syntaxError(JSONTokener.java:423)


Related issues

Related to Requality - Task #1425: Проверка целостности модели данныхNew06/27/2011

Actions

Associated revisions

Revision 2422 (diff)
Added by Yuriy Shekochihin almost 9 years ago

fixes #658
ErrorNode type added to support brocken json in base

Revision 61c600d6 (diff)
Added by Yuriy Shekochihin almost 9 years ago

fixes #658
ErrorNode type added to support brocken json in base

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

Revision 2422 (diff)
Added by Yuriy Shekochihin almost 9 years ago

fixes #658
ErrorNode type added to support brocken json in base

History

#1

Updated by Alexey Demakov over 9 years ago

  • Target version deleted (58)
#2

Updated by Alexey Khoroshilov about 9 years ago

  • Target version set to 85
  • Parent task set to #1427
#3

Updated by Yuriy Shekochihin almost 9 years ago

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

Applied in changeset r2422.

#4

Updated by Alexey Demakov almost 9 years ago

  • Published in build set to 0.13.124
#5

Updated by Alexey Demakov over 8 years ago

  • Target version changed from 85 to 0.13
#6

Updated by Alexey Demakov over 8 years ago

  • Assignee set to Viktoria Kopach
#7

Updated by Viktoria Kopach over 8 years ago

Ошибка осталась.
В Description текст:

org.json.JSONException: Expected a ':' after a key at 251 [character 252 line 1]
at org.json.JSONTokener.syntaxError(JSONTokener.java:423)
at org.json.JSONObject.<init>(JSONObject.java:207)
at org.json.JSONTokener.nextValue(JSONTokener.java:352)
at org.json.JSONObject.<init>(JSONObject.java:209)
at org.json.JSONTokener.nextValue(JSONTokener.java:352)
at org.json.JSONObject.<init>(JSONObject.java:209)
at org.json.JSONObject.<init>(JSONObject.java:310)
at com.unitesk.requality.core.NodeMapper.getAttributes(NodeMapper.java:49)
at com.unitesk.requality.eclipse.core.ResourceStorage.getAttributes(ResourceStorage.java:164)
at com.unitesk.requality.core.TreeDB.loadNodeData(TreeDB.java:148)
at com.unitesk.requality.core.TreeDB.access$400(TreeDB.java:29)
at com.unitesk.requality.core.TreeDB$1.changed(TreeDB.java:114)
at com.unitesk.requality.eclipse.core.DeltaProcessor.processDelta(DeltaProcessor.java:101)
at com.unitesk.requality.eclipse.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:57)
at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:395)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1530)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2353)
at org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:40)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

#8

Updated by Viktoria Kopach over 8 years ago

Это на версии 0.13.133.

#9

Updated by Viktoria Kopach over 8 years ago

  • Status changed from Resolved to Open
  • Assignee changed from Viktoria Kopach to Alexey Demakov
#10

Updated by Alexey Khoroshilov over 8 years ago

  • Priority changed from Normal to High
#11

Updated by Yuriy Shekochihin over 8 years ago

  • Status changed from Open to Resolved

не воспроизводится.

#12

Updated by Viktoria Kopach over 8 years ago

  • Status changed from Resolved to Verified
  • Assignee changed from Alexey Demakov to Alexey Khoroshilov
#13

Updated by Alexey Khoroshilov almost 8 years ago

  • Status changed from Verified to Closed

Also available in: Atom PDF