Add more error checking when parsing URL in site copy code.
It won't be possible to verify that this improves things without hacking on the database to produce bad data. It's easy enough to see that it doesn't hurt anything.
- add assignment
- use "inspect element" to find the invisible copy link, which will be a url like http://lessonbuilder.sakaiproject.org/1849/
- insert it into an HTML block. The URL will go to the assignment
- copy the site
- the URL in the copy should go to the assignment in the new site. It will be a draft, so you won't be able to do the assignment.
[This format of URL is an unfinished feature, intended to allow Lessons items to be used in free-form HTML blocks. The feature works, and one vendor is using it, but there's no UI to add the URLs. The intent is that you supply special site CSS that exposes the invisible links during editing.]