Q7

File content remains same, then apply Workspace context, and file are modified.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.9
  • Fix Version/s: 1.2.10
  • Component/s: Runtime
  • Labels:
  • Test Mode:
    Manual

Description

Use e4 as AUT.
Import E4 tests from git@github.com:xored/e4tests.git

Run Q7 tests in the following order:

  1. Compare With Each Other;
  2. Search Replace From Search View;
  3. Use Content Assist to Create Main Method.

With 2nd test Illegal Argument Exception occurs (see the attached error log) which probably affects 3rd test in the following way:
Class1.java is not cleared with workspace context but contains all changes from previously executed test (Search Replace From Search View) which makes followng tests fail.

Activity

Hide
Andrey Sobolev added a comment - 13/Nov/12 1:23 PM

File is cleared, If I've remove file manually, and then apply context one more time. Filesystem content is fine, but e4 still opens same previous version of file.

Show
Andrey Sobolev added a comment - 13/Nov/12 1:23 PM File is cleared, If I've remove file manually, and then apply context one more time. Filesystem content is fine, but e4 still opens same previous version of file.
Hide
Andrey Sobolev added a comment - 13/Nov/12 2:37 PM

Issue is related to FileBuffers hold previous value, and was not disconnected.

Show
Andrey Sobolev added a comment - 13/Nov/12 2:37 PM Issue is related to FileBuffers hold previous value, and was not disconnected.
Hide
Andrey Sobolev added a comment - 13/Nov/12 2:39 PM

Probable could be issue with some editor, was not correctly closed, not disconnect file buffer.

Ulyana could you please try to reproduce issue without Q7, with some import/export. Or probable you will be able to create test case.

Show
Andrey Sobolev added a comment - 13/Nov/12 2:39 PM Probable could be issue with some editor, was not correctly closed, not disconnect file buffer. Ulyana could you please try to reproduce issue without Q7, with some import/export. Or probable you will be able to create test case.
Hide
Andrey Sobolev added a comment - 13/Nov/12 2:41 PM

Fixed,

FileBuffers are cleared then workbench context clear is specified, and force synched then not used.

Show
Andrey Sobolev added a comment - 13/Nov/12 2:41 PM Fixed, FileBuffers are cleared then workbench context clear is specified, and force synched then not used.
Hide
Ulyana Skorokhodova added a comment - 16/Nov/12 1:01 PM

verified

Show
Ulyana Skorokhodova added a comment - 16/Nov/12 1:01 PM verified

People

Vote (0)
Watch (0)

Dates

  • Created:
    06/Nov/12 3:20 PM
    Updated:
    16/Nov/12 1:01 PM
    Resolved:
    13/Nov/12 2:41 PM