Hyperlink to a file with space in filename does not work- aspose-cells-8.2.1.1

Hi,

I am using aspose-cells-8.2.1.1 patch version - for hyperlink to a document with space in file name.

Follwoing my code sample. Let me know if I am missing something here in coding.

Thanks,

public static void main(String[] args)throws Exception{

/**

* hyperlinnk to a document with NO space in file name - does work

*/

String hypeLinkToFileWithNOSpace = "C:\\eCostTest\\excelTEST\\boeTest.xlsx";//

String fileNamewithoutSpace = "4.01_AA_Major_Sub_Buyer.docx";

com.aspose.cells.Workbook w = new com.aspose.cells.Workbook();

w.getWorksheets().get(0).getHyperlinks().add("A1",1,1,fileNamewithoutSpace);

w.save(hypeLinkToFileWithNOSpace);

/**

* hyperlinnk to a document with space in filename - does not work

*/

String hypeLinkToFileWithSpace = "C:\\eCostTest\\excelTEST\\boeTest2.xlsx";//

String fileNameWithSpace = "4.01 AA Major Sub Buyer.docx";

com.aspose.cells.Workbook w2 = new com.aspose.cells.Workbook();

w2.getWorksheets().get(0).getHyperlinks().add("A1",1,1,fileNameWithSpace);

w2.save(hypeLinkToFileWithSpace);

}

I am tried in patch version

Hi Rita,

Thanks for your posting and using Aspose.Cells.

We were able to observe this issue after executing the following code using the latest version: Aspose.Cells
for Java v8.2.1.2
. Hyperlink to a file with space in filename does not work.

We have logged this issue in our database for investigation. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as CELLSJAVA-41028.

Java


String fileNamewithoutSpace = “4.01 AA Major Sub Buyer.docx”;

com.aspose.cells.Workbook w = new com.aspose.cells.Workbook();

w.getWorksheets().get(0).getHyperlinks().add(“A1”,1,1,fileNamewithoutSpace);

w.save(“sample1.xlsx”);


Hi,

Thanks for using Aspose.Cells for Java.

Please download and try this fix: Aspose.Cells for Java v8.2.1.3 and let us know your feedback.

Hi Shakeel,

Thank you for the fix. Fix is working as expected for hypelinking to a file with space in file name.

Thanks again,

Hi,

Thanks for your feedback.

Good to know that your issue is resolved with the latest version/fix, we have closed your issue now. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.

Thank you.

The issues you have found earlier (filed as CELLSJAVA-41028) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.