Embedded file ... not really embedded

@joelle.auffret,

We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSJAVA-42833 - Issue while embedding same pdf file in multiple sheets in a workbook

@joelle.auffret,

This is to inform you that we have fixed your issue (logged earlier as “CELLSJAVA-42833”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

Hello,
Our problem is that we can not change Aspose version (our client has a license for an old version of Aspose), and we would like to know if there is a workaround in ‘fileInput’ content (use in wb = new Workbook (fileInput):wink: to avoid the problem (eg no drawing in the tabs …)

If we know the reason why there is this bug, we can inform our client to change their files ‘fileInput’ content.

Best regards

@joelle.auffret,

I am afraid there is not any workaround available for this issue. It is fixed in latest version so please upgrade and then let us know your feedback.

@joelle.auffret,

Please try our latest version/fix: Aspose.Cells for Java v19.2.1:

aspose-cells-19.2.1.zip (6.4 MB)

Your issue should be fixed in it.

Let us know your feedback.

Hello, I have tried the new version. The bug is not the same but it is always present.

In the example, I insert embedded files in F10, F11 and F14 sheets of excel template.
When you execute the java code using Aspose 17.1.0, embedded files in F10 and F11 are correct, but in F14 it is a picture.
When you execute the java code using the new Aspose 19.2.1, embedded files in F11 and F14 are correct, but in F10 it is a picture.

Here the link to access to zip example:

Best regards.

@joelle.auffret,

We have observed issue with this template file and logged this information with the ticket which is reopened for further investigation. We will write back here once any update is ready to share.

We are sorry for the inconvenience caused to you in this regard.

@joelle.auffret,

This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

@joelle.auffret,

Please try our latest version/fix: Aspose.Cells for Java v19.2.7:

aspose-cells-19.2.7.zip (6.4 MB)

Your issues should be fixed in it.

Let us know your feedback.

It works for the java code example I gave you, but in other cases it does not work.

I have already the same problem when I try to insert one embedded file in each tab.
With this new version 19.2.7, embedded files are considered as pictures in F12 and F15 tabs.

BugAsposeTest2.zip (1.3 KB)

@joelle.auffret,
I have tried the latest version but no issue is observed. All the embedded files on each sheet are opened fine without any issue. I am sharing all the sample data and code for your reference again. Please ensure that you are using latest version which is shared with you and also I have made following change in the code according to the available sample XLSX file.

...
for (int k=0; k<=14;k++) { //You mentioned k<=18
...

Please give it a try and provide the feedback.
SampleData.zip (1.5 MB)

I think you have not used the last template “ONE_TEMPLATE.xlsx” that I sent in the second zip BugAsposeTest2.zip.
With this template, you can have the following loop:


for (int k=0; k<=18;k++) {

And if you try it, you can see that in F12 and F15, embedded files are pictures…

Best regards

ONE_TEMPLATE.zip (493.9 KB)

@joelle.auffret,

If you check the ZIP file BugAsposeTest2.zip it contains only .java code file (no sample XLSX file was there) that is why this issue was tested with the previous available sample file.

I have tested this scenario with your latest file and observed the issue. I have logged it with the ticket and will provide our feedback soon.

The issues you have found earlier (filed as CELLSJAVA-42833) have been fixed in Aspose.Cells for Java 19.3. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi

Hello,
I have tried to use the new Aspose version Aspose.Cells for java 19.3, and the issue I have found has not been fixed.
Using exactly the same example I sent you, you can see that in F12 and F15 tabs, the embedded files are considered as pictures and not files.
Since opening the bug, I tested 3 versions of Aspose (19.2.1, 19.2.7 and 19.3) and the bug is still present.

Do you think you’ll be able to fix it (my hierarchy is waiting for a result to order a license), or is there a workaround to avoid the problem?

Best regards.

@joelle.auffret,

We are sorry for the inconvenience caused to you. I have observed the issue using latest version Aspose.Cells for Java 19.3 and have reopened the ticket for further investigation. I will write back here as soon as some feedback is ready to share.

@joelle.auffret,

This is to inform you that we have fixed your issue accurately now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

@joelle.auffret,

Please try our latest version/fix: Aspose.Cells for Java v19.3.1

Your issue should be fixed in it.

Let us know your feedback.
Aspose.Cells for Java_v19.3.1.zip (6.4 MB)

The issues you have found earlier have been fixed in Aspose.Cells for Java 19.4. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi