Dynamic Data List Old Records show uploaded files from the latest version

Description

Steps to reproduce are:
1. As a "Site Owner", Go to control panel >>> Dynamic Data Lists menu.
2. Select "Manage Data Definitions" and start by adding a new definition.
3. Lets call our definition as "DD1", It should have 2 fields, one is a "Text" type and another as "File Upload" type, no other changes are required.
4. Now save the definition "DD1".
5. On "Dynamic Data Lists" screen click on "Add" to create a new list, lets keep the name as "List 1". And map the definition "DD1" created above to this "List 1".
6. Now save the List, thus a new list "List 1" is created mapped to the data definition "DD1".
7. Now add a new record to the list but specifying some text and attaching a file and save it.
8. Till now everything works fine but the issue comes while editing the record.
9. Now if you go to this record and open it in edit mode and either just change the text in "Text" field or does nothing and "Publish" the record. It gives you a success message but file or attachments get removed from the record, which is not what is expected as the data should remain their.

Another use case is seen if I make this "File Upload" as required field and if I try to edit the record the file attached to it, it shows me the attachment but does not allow me to edit then publish again until an unless I provide the file again.

Luyang Tan (Inactive)
added a comment - 28/Mar/13 10:29 PM PASSED Manual Testing following the steps in the description.
Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.
When I open the record in edit mode and Publish the record, the attachment get removed from the record.
Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 40e22a46fd3fca422399b2f23c9fe8f56a3da0a4.
When I open the record in edit mode and Publish the record, the attachment still exsit in the record.

Luyang Tan (Inactive)
added a comment - 29/May/14 1:36 AM PASSED Manual Testing following the steps in the description.
Fixed on:
Tomcat 7.0.40 + MySQL 5.5.21. Portal 6.1.x.EE GIT ID: b6652c35602dcc8706c87a793a43c11e657de9ef.
When I open the record in edit mode and Publish the record, the attachment still exsit in the record.