more /root/Bugs/Copy Resource broken.thread
2010-05-24 04:31:36IsmAvatar
Copy Resource acts just like New Resource.
2010-05-24 15:12:46IsmAvatar
This behavior is caused by an exception since Listener attempts to call ResourceList.duplicate, which does not exist.

Further inspection revealed that the duplicate method fo ResourceList was lost around r306/307, which may be due to the repository glitch in r308, which tried to re-implement the entire revision history of LGM.
2010-05-24 15:42:42IsmAvatar
Actually it seems that it may simply have been lost as a result of Quadduc removing "unneeded methods". Since this method was probably only referenced using reflection, it would not have left a breadcrumb, so it would have appeared as unneeded. Unfortunately, due to r307's ResourceList switching to TreeSet instead of ArrayList, the original method cannot simply be copy-pasted, and would need to be recoded in.
2010-05-24 17:44:32IsmAvatar
duplicate method recoded in, fix applied in r437.
Could look into recoding much of the resource copying code.