2

We are upgrading from Tridion 2011 SP1 HR1 to Tridion 2013 SP1. So we are referring to the Tridion 2013 SP1 DLL to the solution in the Visual Studio. After adding the latest DLL build the solution which is giving the following warnings.

  1. 'Tridion.ContentManager.ContentManagement.OrganizationalItem.GetItems(Tridion.ContentManager.Filter)' is obsolete: 'Deprecated method. Use GetItems() or GetItems(OrganizationalItemItemsFilter) instead.'

  2. 'Tridion.ContentManager.ContentManagement.BinaryContent.FileSize' is obsolete: 'Use Size property instead. This property can't handle size more than 2GB.'

These warnings related to the deprecated still I'm worried whether these warnings will affect us or not? If yes, then how to resolve these warnings?

1 Answer 1

3

They will not affect now. Tridion just give you know that this methods can be deleted in the next releases(and they will be deleted, just don't know in which release exactly). So it is better to use provided analogs...If you will use your code in next releases, probably your code will not compiled.

3
  • If this suggestion was useful, please click the up arrow button to the left of it. If it was the answer to your question, please click the check mark. Commented Aug 28, 2014 at 15:51
  • @Syav4eg can you please let us know what are the provided analogs to use
    – k951
    Commented Sep 1, 2014 at 6:49
  • They are mentioned in the message: "Use GetItems() or GetItems(OrganizationalItemItemsFilter) instead." "Use Size property instead"
    – Syav4eg
    Commented Sep 1, 2014 at 7:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.