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 151317 - Unable to Read XSL File from a Valid File Path
Summary: Unable to Read XSL File from a Valid File Path
Status: REOPENED
Alias: None
Product: soa
Classification: Unclassified
Component: XSLT (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vitaly Bychkov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-24 19:12 UTC by rpoon
Modified: 2009-11-08 09:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Description file (26.76 KB, application/x-compressed)
2008-10-24 19:15 UTC, rpoon
Details
a11y output2 (581 bytes, application/x-compressed)
2008-11-01 00:13 UTC, rpoon
Details
email trail (2.56 KB, text/plain)
2008-11-07 19:21 UTC, rpoon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rpoon 2008-10-24 19:12:37 UTC
Build:  \\thumper\50builds\gfesb\v2\nightly\20081024-0704

When creating the XSLT Service via the wizard with ‘Request-Reply’, during step (3) – XSLT configuration, under 
the ‘Xsl File Path’ entry, even after user provided a valid file path (i.e. 
C:\glassfishesb\rp_XSLT_Projects\rp_XSLT_test1\src\EvaluateCandidate.xsl) the error occurred with ‘Incorrect file 
name ..’

The user is force to select from provided ‘Browse Project Folder’ button to select the file.

(see attached description file for more details)
Comment 1 rpoon 2008-10-24 19:15:39 UTC
Created attachment 72625 [details]
Description file
Comment 2 Vitaly Bychkov 2008-10-28 00:45:36 UTC
fixed in soa-dev.
Changeset: a51a7b31785e.
Comment 3 Vitaly Bychkov 2008-10-28 15:27:56 UTC
Fixed in soarelease.
Changeset: 39c545595a32.
Comment 4 rpoon 2008-11-01 00:13:11 UTC
Created attachment 73034 [details]
a11y output2
Comment 5 rpoon 2008-11-04 18:06:51 UTC
Verified with Build:
    \\thumper\50builds\Release6U1\installer\nightly\20081103-1827
    \\thumper\50builds\gfesb\v2\nightly\20081104-0705

The described problem still exists in both of the above build.
User is still unable to select XSL file that locates somewhere other than in the working project/src folder.

Re-open this ticket.
Comment 6 Vitaly Bychkov 2008-11-05 23:43:58 UTC
The file dialog doesn't support extenal xsl files.

Because for now external (non project located) xsl files are not supported. 
External xsl files will not included into final deployment jar.

If you'd like to have this functionality please file an enhancement.
One still has a possibility to type full path in text field or directly in source editor this case is on user's own.
Comment 7 rpoon 2008-11-06 16:28:23 UTC
Actually, user should be allowed to at least select XSL file from ANY location from within the working project.

Say, if user creates a new XSL Style sheet (via the provided XSL Style Sheet wizard) when creating a new XSLT project, 
and selects to store this XSL file in somewhere other than <project>\src (i.e. my_src - which user is currently allowed 
to do in the XSL Style sheet wizard), user should be at least allowed to select this newly created XSL file (created in 
the same working project).

Currently, user is not able to.
Comment 8 rpoon 2008-11-06 16:30:23 UTC
BTW, I also created a Enhancement ticket 152556 for allowing user to select XSL file outside of working project.
Comment 9 rpoon 2008-11-07 19:20:57 UTC
Fix not yet in build:  \\thumper\50builds\gfesb\v2\nightly\20081107-0704 due to build problem (see attached email)

Will re-verify with next successful build when available. 
Comment 10 rpoon 2008-11-07 19:21:28 UTC
Created attachment 73501 [details]
email trail
Comment 11 Vitaly Bychkov 2009-05-20 11:31:53 UTC
Check with the latest nightly build - the fix is in.
Close as fixed. 
Comment 12 rpoon 2009-05-26 18:36:41 UTC
Fix does not make it to GFESB 2.1 release (build: 20090515-1455) - will be verified with future (2.1.1) release.
Comment 13 rpoon 2009-10-22 23:43:38 UTC
The described problem still remains unfixed with build: 20091020-1005

User is still unable to select XSL file from any other location except current project's 'src' directory.
This is somewhat odd, since user is allowed to create new XSL file in locations from within working project (i.e. 
<currently_working_project>\my_dir).  But it can only read from '<currently_working_project>/src' directory.

That imply user is unable to use XSL file that was created from the project (if the file was placed anywhere other than 
the 'src' directory).
Comment 14 Sergey Lunegov 2009-10-23 07:55:23 UTC
Vitaly, please take a look.