Bug #57927 Import SQL Script: Pasting valid windows path generates error

Submitted: 2 Nov 2010 13:03 Modified: 17 Nov 2010 15:49
Reporter: Kai Sautter (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.29 OS:Windows (XP)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: qc

[2 Nov 2010 13:03] Kai Sautter
Description:
When either creating a model from an existing SQL script or importing an SQL script using the "Reverse Engineer SQL Script" function (File --> Import) valid windows paths generates an error "Invalid Path", if pasted from clipboard to the "Select SQL script file" input box of the wizard (screen 1).

How to repeat:
(1) Open the wizard
(2) Select the path in the Address box of file explorer and copy it
(3) Go to the wizard and paste the path. 

Suggested fix:
Probably, this is only a parsing issue for the field entry. If the "Browse" button is used, the path is entered into the box in the same format.
[2 Nov 2010 13:38] Peter Laursen
I believe content from clipboard has a 'windows newline' (\r\n) at the end.
[2 Nov 2010 14:44] Kai Sautter
I tried to test Peter Laursen's comment by deleting the last character and everything beyond (shift-end to mark) and re-insert the last character. Unfortunately, this does not help.
[5 Nov 2010 13:45] Johannes Taxacher
the err also appears when typing a path
[12 Nov 2010 14:30] Mike Lischke
Fixed in repository.
[12 Nov 2010 15:15] Johannes Taxacher
fix confirmed in repository
[17 Nov 2010 15:49] Tony Bedford
An entry has been added to the 5.2.30 changelog:

When importing a SQL script using the Reverse Engineer SQL Script wizard, copying a path from the clipboard to the Select SQL script file input box, resulted in an “invalid path” error.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.