In Resources 'Add Another Web Link' doesn't work.

Description

1. Create a site add the Resources Tool
2. Go to resources, in 'Actions' drop down list select 'Add web links'.
3. 'Add web links' page appears, click on 'Add Another Web Link'.
This has no effect. In the javascript console there is the error "Uncaught TypeError: Cannot set property 'undefined' of undefined"

http://www.evernote.com/shard/s606/sh/41548128-aa02-40a3-9091-caa23a9e5b2a/76dcbfa2fc485146bd8a1b35bfd25570

Resources tool should also work as expected in the "Home" tool

Activity

Austin February 13, 2018 at 8:21 PM

While the "Add another folder / web link" functionality is working, after doing so from the "Home" tab, you can't add details or delete the additional rows. I've created a new JIRA for the new problem,

Matthew Jones April 14, 2017 at 9:46 AM

The same problem existed for folders in SAK-32450, I updated both descriptions on that patch.

Adam Marshall February 1, 2017 at 10:32 AM

It's not a bad idea to remove this broken functionality but the text on the page doesnt seem to have been told. It still talks about adding as many web links as you like.

Matthew Jones September 27, 2016 at 4:29 PM
Edited

I'm resolving this as incomplete, please re-open if you work on this. This link was removed from in SAK-31809.

Matthew Jones September 27, 2016 at 4:26 PM
Edited

I'm giving up, I've spent a few hours on this and I can't get this to work. It looks like a regression from where the date picker was changed. When the node is copied the date picker isn't reactivated and it fails. I tried a few ways to update the script but that's failing too. I think the best bet is just to remove the "Add Another Web Link" until someone has more time to actually try to get this to work really.

Here's the commit where I tried to fix it, but it's throwing an error about the date in the date picker javascript module. Everything seems like it should be working. I'm doing a search/replace on the script and re-running it. I can't see where the error is.

https://github.com/jonespm/sakai/commit/111009935f253be7d6c066e8d8ea8f20b13a04a3

Incomplete

Details

Priority

Affects versions

Components

Assignee

Reporter

Environment

Windows 8.1,Browser(s): Chrome qa1-us.nightly.sakaiproject.org, QA01.

Created July 18, 2016 at 3:34 PM
Updated February 13, 2018 at 8:22 PM
Resolved September 27, 2016 at 4:29 PM