Hello,
I am using moodle 2.8
I have a question that how moodle convert draft itemid (temporary) into permanent itemid for any file
I am observing that when I upload video file in lesson, it looks like
draftfile.php?file=%2F1027%2Fuser%2Fdraft%2F391340851%2Ffilename.mp4
But same file showing in Code view of editor showing like
<p><a href="http://learning.lorekart.net/draftfile.php?file=/853/user/draft/248439929/filename.mp4">draftfile.php?file=%2F1027%2Fuser%2Fdraft%2F391340851%2Ffilename.mp4</a></p>
in both line itemid has been change and second rows itemid that 248439929.
I wants to know how itemid change of any file in moodle and in which mdl table it store.