In latest Aspose Library Page.Dispose() is disposing subsequent pages also

Hi Aspose,

Currently we are using Aspose 20.3.0.0 and we are upgrading to the version 21.9.0.0. In this update we are facing issue in Page.Dispose(). If we do page.displose(), it’s disposing the correspondent page details also.

/Start code snip set/
PageCollection psd = Document.Pages;
foreach (Page pageDic in psd)
{
int page = pageDic.Number;
extracting link/annotation details for each page
pageDic.Dispose();
}
/***End code snip set

Description: Lets assume that, the pdf document having 3 pages and as per above code snip set,

  1. Loading that pdf document, get all pages and assigned to the Page collection psd.
  2. in the loop, if we dispose the first page, then corresponding second and third page also disposed.

Note: In Aspose version 20.3.0.0 its working fine, means when we perform dispose page, the particular page only disposed, instead of all.

Please let us know if details required here.

regards,
Irappa.

@iarabhavi

Would you please make sure to test the scenario using 22.3 version of the API which is the latest one? In case you still notice the issue, please let us know and we will further proceed to assist you accordingly.

@asad.ali,

Yes we tested the same scenario using 22.3 version, here also we could able to replicate the issue. Please check and let us know.

@iarabhavi

We have also replicated the issue in our environment using the latest version of the API. Hence, a ticket as PDFNET-51679 has been logged in our issue management system for further investigation. We will look into its details and keep you posted with the status of its rectification. Please be patient and spare us some time.

We are sorry for the inconvenience.

@asad.ali

Any updates on this issue?

@iarabhavi

We are afraid that the earlier logged ticket is not yet resolved. Please note that it was recently logged and will be investigated on a first come first serve basis. We will surely inform you in this forum thread once we have some update about its resolution. Please spare us some time.

We apologize for the inconvenience.

@asad.sli

We could able to replicate the same issue using 22.5 version also. This seems to be critical for us, Can you please update the details.

@iarabhavi

We are afraid that the ticket could not get resolved due to other pending issues in the queue. However, we will surely inform you as soon as we make some definite progress towards ticket resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.

@asad.ali

Any updates on this ticket?

@iarabhavi

We are afraid that no updates are available at the moment regarding ticket resolution. As soon as we complete the issue investigation, we will be able to share some ETA or news about issue fix. We will let you know once we have some updates. We apologize for your inconvenience.

@asad.ali,

Could you, at the very least, tell me which version triggered this issue?

I oberved this issue is working fine at up to 20.4 version and after all this version the issue will exist, is that true? Please check and let us know.

@iarabhavi

We have already recorded your concerns and currently, we are investigating the ticket by checking the log of changes. We will soon inform you about the results of our investigation.

We apologize for the delay and the inconvenience.

The issues you have found earlier (filed as PDFNET-51679) have been fixed in Aspose.PDF for .NET 22.8.