MantisBT - ATutor
View Issue Details
0003613ATutorContentpublic2008-10-24 09:222008-11-14 08:22
0003613: Duplicate Original Resources via [media]
Using an inserted swf file with the [media] tag, the file is listed four times under alt content. The file name does appear four times in the source code, which is necessary as alt to object if not supported, and in the param element (which may not be necessary). What can we do to eliminate the duplicates, without loosing a second instance of the file if it is purposely inserted a second time using another [media] tag.
No tags attached.
Issue History
2008-10-24 09:22gregNew Issue
2008-10-24 09:22gregAffects version => SVN
2008-10-28 16:25silviaNote Added: 0003256
2008-10-28 16:25silviaStatusnew => confirmed
2008-11-03 06:50cindyStatusconfirmed => resolved
2008-11-03 06:50cindyFixed in Version => 1.6.2
2008-11-03 06:50cindyResolutionopen => fixed
2008-11-03 06:50cindyAssigned To => cindy
2008-11-03 06:50cindyNote Added: 0003277
2008-11-14 08:22gregStatusresolved => closed

2008-10-28 16:25   
I've changed and this partially solved such a problem.
Unfortunally, due to the <object> "nature" and to the "automatically" provision of a <a> as a child of each <object>, it is not possible to reduce the number of repeatetion less than two (one is related to the data attribute of the <object> and the other one is related to the href attribute of the <a>).
2008-11-03 06:50   
SVN Revision: 8152

Affected script: include/html/

Unique the array element on the resource objects. But, it introduces the new problem that when a same resource appears at different places in the content and users do want to have them with different alternatives. This solution makes this same resource only shows up once at "adapt content" page and only can have one alternative associate with. Table and scripts need to re-design to solve this problem, for example, include line number in table.