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

Ulyana Skorokhodova made changes - 06/Nov/12 3:23 PM
Field Original Value New Value
Description Use e4 as AUT.
Import E4 tests from here: 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 affect 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.

Use e4 as AUT.
Import E4 tests from here: 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.

Andrey Sobolev made changes - 13/Nov/12 12:51 PM
Status Open [ 1 ] In Progress [ 3 ]
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.
Andrey Sobolev made changes - 13/Nov/12 2:37 PM
Summary Illegal Argument Exception makes following tests fail. File content remains same, then apply Workspace context, and file are modified.
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.
Andrey Sobolev made changes - 13/Nov/12 2:41 PM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]
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
Ulyana Skorokhodova made changes - 16/Nov/12 1:01 PM
Status Resolved [ 5 ] Closed [ 6 ]
Transition Time In Source Status Execution Times Last Executer Last Execution Date
Open Open In Progress In Progress
6d 21h 30m 1 Andrey Sobolev 13/Nov/12 12:51 PM
In Progress In Progress Resolved Resolved
1h 50m 1 Andrey Sobolev 13/Nov/12 2:41 PM
Resolved Resolved Closed Closed
2d 22h 19m 1 Ulyana Skorokhodova 16/Nov/12 1:01 PM

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