You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2017/10/17 17:51:47 UTC

[Bug 61625] New: Windows LAF : CSV Data Set browse fields behaves strangely

https://bz.apache.org/bugzilla/show_bug.cgi?id=61625

            Bug ID: 61625
           Summary: Windows LAF : CSV Data Set browse fields behaves
                    strangely
           Product: JMeter
           Version: 3.3
          Hardware: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: ---

Since the Browse Button has been added to CSV Data Set in Bug 61039 , there is
a very annoying regression when using Windows LAF:

- Select a file using Browse
- Save plan => OK
- Edit the path without using Browse
- Save => KO , field is silently reset to previous value
In order to make it work you need to select Edit in combox box => Very counter
intuitive



Another more impacting regression:
- Select a file using Browse
- Save plan => OK
- No use Edit in Select Box 
- Copy / Paste the exact path you get from File Properties in Windows
- The file is not found when JMeter runs

I think we should release a bugfix version including a fix to all components
impacted by Browse addition.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61625] File Editor used in BeanInfo behaves strangely under all LAFs with impact on CSVDataSet, JSR223, BSF, Beanshell Element

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61625

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sat Nov 11 17:35:16 2017
New Revision: 1814963

URL: http://svn.apache.org/viewvc?rev=1814963&view=rev
Log:
Bug 61625 - File Editor used in BeanInfo behaves strangely under all LAFs with
impact on CSVDataSet, JSR223, BSF, Beanshell Element
Bugzilla Id: 61625

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/FileEditor.java
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61625] File Editor used in BeanInfo behaves strangely under all LAFs with impact on CSVDataSet, JSR223 , BSF , Beanshell Element

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61625

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Darcula LAF & Windows LAF : |File Editor used in
                   |CSV Data Set browse fields  |BeanInfo behaves strangely
                   |behaves strangely           |under all LAFs with impact
                   |                            |on CSVDataSet, JSR223 , BSF
                   |                            |, Beanshell Element
           Hardware|PC                          |All

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Scenario :
- Select a file using Browse
- Save plan => OK
- Edit the path directly in the Filename field without using Browse
- Save => KO , field is silently reset to previous value
In order to make it work you need to select Edit in combox box => Very counter
intuitive


If you just leave the file (focusLost) the value is saved.

It appears this is a very impacting regression.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61625] File Editor used in BeanInfo behaves strangely under all LAFs with impact on CSVDataSet, JSR223, BSF, Beanshell Element

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61625

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Benny van Wijngaarden from comment #5)
> Just started using version 4.0. 
> This problem is not solved there.
> 
> Situation:
> - Open a file with a CSV Data Set Config element
> - Edit the path to contain e.g. testdata/myfile.csv
> - Pressing Save will change the / into \
> 
> On Windows this still works, but when running the script via Jenkins this
> might cause problems (not confirmed yet, but expect them)

Please open another issue marked as affecting 4.0 as the bug reported here is
really fixed.

Note that I don't reproduce your scenario on Mac OSX with Darcula LAF.

When opening a new bug, please indicate:
- OS type and version
- LAF used
- Java version
Thanks
Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61625] Darcula LAF & Windows LAF : CSV Data Set browse fields behaves strangely

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61625

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Windows LAF : CSV Data Set  |Darcula LAF & Windows LAF :
                   |browse fields behaves       |CSV Data Set browse fields
                   |strangely                   |behaves strangely

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61625] Windows LAF : CSV Data Set browse fields behaves strangely

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61625

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Philippe Mouawad from comment #0)
> Since the Browse Button has been added to CSV Data Set in Bug 61039 , there
> is a very annoying regression when using Windows LAF:
> 
> - Select a file using Browse
> - Save plan => OK
> - Edit the path without using Browse
> - Save => KO , field is silently reset to previous value
> In order to make it work you need to select Edit in combox box => Very
> counter intuitive
> 
> 
> 
> Another more impacting regression:
> - Select a file using Browse
> - Save plan => OK
> - No use Edit in Select Box 
> - Copy / Paste the exact path you get from File Properties in Windows
> - The file is not found when JMeter runs



After further analysis, it appears that a nasty characters was being inserted
before the full path, it was invisible in JMeter UI but this explains why file
was not found. So this part of bug report is not a problem.
> 
> I think we should release a bugfix version including a fix to all components
> impacted by Browse addition.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61625] Windows LAF : CSV Data Set browse fields behaves strangely

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61625

Antonio Gomes Rodrigues <ra...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
Hi,

I think it's a problem of focus

Because if after the modification of the field, we press enter the proble
disappear

I will check the source code asap

Antonio

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61625] File Editor used in BeanInfo behaves strangely under all LAFs with impact on CSVDataSet, JSR223, BSF, Beanshell Element

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61625

Benny van Wijngaarden <be...@smaragd-it.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
            Version|3.3                         |4.0
                 OS|All                         |Windows 8
           Severity|regression                  |major
         Resolution|FIXED                       |---
           Hardware|All                         |PC

--- Comment #5 from Benny van Wijngaarden <be...@smaragd-it.nl> ---
Just started using version 4.0. 
This problem is not solved there.

Situation:
- Open a file with a CSV Data Set Config element
- Edit the path to contain e.g. testdata/myfile.csv
- Pressing Save will change the / into \

On Windows this still works, but when running the script via Jenkins this might
cause problems (not confirmed yet, but expect them)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61625] File Editor used in BeanInfo behaves strangely under all LAFs with impact on CSVDataSet, JSR223, BSF, Beanshell Element

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61625

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|File Editor used in         |File Editor used in
                   |BeanInfo behaves strangely  |BeanInfo behaves strangely
                   |under all LAFs with impact  |under all LAFs with impact
                   |on CSVDataSet, JSR223 , BSF |on CSVDataSet, JSR223, BSF,
                   |, Beanshell Element         |Beanshell Element

-- 
You are receiving this mail because:
You are the assignee for the bug.