This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 214104 - Copy Row values (With Header) returns incorrectly formatted data
Summary: Copy Row values (With Header) returns incorrectly formatted data
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-06-13 10:12 UTC by bolsover
Modified: 2013-01-11 13:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bolsover 2012-06-13 10:12:51 UTC
NB 7.2beta: Copy Row values (With Header) returns incorrectly formatted data

Steps to reproduce:

Execute SQL against database.
Select row or multiple rows in table data.
Right click to show context menu.
Select 'Copy Row values (With Header)'
Paste data into text document.


It appears that the format of the returned data has been changed since 7.1.2: 

In 7.1.2, column names were simply space delimited e.g.: 'SO_No	Due_Date	Part_No'. 

In 7.2 column names are separated by <html></html> tags: e.g.: <html>SO_No</html>	<html>Due_Date</html>	<html>Part_No</html>

Clearly, the returned data is not correctly formatted as HTML - a particular problem if copied data is pasted into excel (2010) as only the header of the first column is pasted.
Comment 1 Jaroslav Havlin 2012-06-13 15:19:33 UTC
http://hg.netbeans.org/core-main/rev/170c9c0d6642
Fixed. Thanks for reporting.
Comment 2 Quality Engineering 2012-06-14 06:11:18 UTC
Integrated into 'main-golden', will be available in build *201206140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/170c9c0d6642
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #214104: Copy Row values (With Header) returns incorrectly formatted data
Comment 3 Tomas Danek 2013-01-11 13:13:21 UTC
v.

Product Version: NetBeans IDE 7.3 RC1 (Build 201301102100)
Java: 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18
System: Mac OS X version 10.8.2 running on x86_64; US-ASCII; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/7.3rc1
Cache directory: /Users/tomas/Library/Caches/NetBeans/7.3rc1