Project

General

Profile

Actions

Bug #2755

closed

Редактирование идентификаторов в UniEditor

Added by Alexey Khoroshilov over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
04/16/2012
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.13.147
Platform:
Published in build:
0.13.153

Description

При редактировании идентификаторов тестовых случаев (а наверное и требование тоже) copy-paste приводит к вставки HTML в поле идентификатора. Причем пользователю этого не видно, пока он не сохранит и не увидит в Outline и в Requality Explorer что-нибудь двухэтажное.

Необходимо очисщать идентификатор от html, причем от не внося пробельных символов, которые не были видны пользователю.

Actions #1

Updated by Alexey Khoroshilov over 12 years ago

org.eclipse.core.internal.resources.ResourceException: Resource '/AADL-CTS/root/Requirements/01-Syntax/package_spec/<div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; font-weight: bold; ">
    02-pro-pub-pri<' does not exist.
    at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:320)
    at org.eclipse.core.internal.resources.Resource.checkMoveRequirements(Resource.java:391)
    at org.eclipse.core.internal.resources.Resource.assertMoveRequirements(Resource.java:185)
    at org.eclipse.core.internal.resources.Resource.move(Resource.java:1585)
    at org.eclipse.core.internal.resources.Resource.move(Resource.java:1565)
    at com.unitesk.requality.eclipse.core.ResourceStorage$2.run(ResourceStorage.java:298)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2326)
    at com.unitesk.requality.eclipse.core.ResourceStorage.changeNodeId(ResourceStorage.java:308)
    at com.unitesk.requality.core.transaction.RenameNode.apply(RenameNode.java:20)
    at com.unitesk.requality.core.transaction.TransactionStorage.apply(TransactionStorage.java:198)
    at com.unitesk.requality.core.TreeDB.commit(TreeDB.java:443)
    at com.unitesk.requality.eclipse.core.TreesTracker$2.commit(TreesTracker.java:140)
    at com.unitesk.requality.eclipse.ui.editors.JSEditor$7.function(JSEditor.java:304)
    at org.eclipse.swt.browser.WebKit.callJava(WebKit.java:1765)
    at org.eclipse.swt.browser.WebKit.JSObjectCallAsFunctionProc(WebKit.java:247)
    at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
    at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8422)
    at org.eclipse.swt.widgets.Display.eventProc(Display.java:1245)
    at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
    at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2276)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3207)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Actions #2

Updated by Yuriy Shekochihin over 12 years ago

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

Applied in changeset r2851.

Actions #3

Updated by Yuriy Shekochihin over 12 years ago

  • Published in build set to 0.13.153
Actions #4

Updated by Viktoria Kopach over 12 years ago

  • Status changed from Resolved to Verified
  • Assignee set to Alexey Khoroshilov
Actions #5

Updated by Alexey Khoroshilov about 12 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF