Last modified: 2014-06-13 09:44:50 UTC
Created attachment 15135 [details] sample dataset the extension does not set the variable to an initial value, so that when the code reaches line 412 it has not been set. also, the test on line 408 needs to test the strlen() of the $result, which it does not. in order to see the PHP Notice, you need to have GWToolset installed in an environment that has error_reporting set to E_STRICT|E_ALL. once logged in and at Step 1: Metadata detection step 1 ------ 1. nothing to add 2. select Artwork 3. nothing to add 4. nothing to add 5. choose the attached sample dataset. step 2 ------ 1. map the following fields title identifier => dc:identifier url to the media file => europeana:object 2. press the "Preview batch" button step 3 ------ 1. click on one of the resulting files 2. notice the PHP Notice: Undefined variable: file_extension_length in /extensions/GWToolset/includes/Models/MediawikiTemplate.php on line 412
Change 127211 had a related patch set uploaded by Dan-nl: fix MediawikiTemplate::getTitle() method https://gerrit.wikimedia.org/r/127211
Change 127211 merged by jenkins-bot: fix MediawikiTemplate::getTitle() method https://gerrit.wikimedia.org/r/127211