Task #2583
Updated by Ayush Khandelwal over 2 years ago
<pre> Update source-url attribute and lurl from the newDoc during overwrite (preserve old-internal-link during overwrite). - If(old-document having internal links): - Map<Data-source,Internal-links> map = fetch all internal links. - for(new-o-url for(old-internal-link, old-data-source : new-ourl-document-links): old-document-links): - if(map.contains(new-o-url)): new-o-url = get from newDoc - replace o-url with l-url and also add the data-source. if(old-data-source != new-o-url): - else: - do link update for the old-data-source with new-o-url </pre>