Bug 17616

Summary: Select tag on elasticsearch mappings page is not closed properly
Product: Koha Reporter: Josef Moravec <josef.moravec>
Component: TemplatesAssignee: Josef Moravec <josef.moravec>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: jonathan.druart, kyle, mtj
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 14899    
Bug Blocks:    
Attachments: Bug 17616: Select tag on elasticsearch mappings page is not closed properly
Bug 17616: (follow-up)Select tag on elasticsearch mappings page is not closed properly
[SIGNED-OFF] Bug 17616: Select tag on elasticsearch mappings page is not closed properly
[SIGNED-OFF] Bug 17616: (follow-up)Select tag on elasticsearch mappings page is not closed properly
Bug 17616: Select tag on elasticsearch mappings page is not closed properly
Bug 17616: (follow-up)Select tag on elasticsearch mappings page is not closed properly

Comment 1 Josef Moravec 2016-11-11 16:52:58 UTC Comment hidden (obsolete)
Comment 2 Héctor Eduardo Castro Avalos 2016-11-14 21:19:11 UTC Comment hidden (obsolete)
Comment 3 Josef Moravec 2016-11-15 06:46:19 UTC
Good catch Héctor.
Comment 4 Owen Leonard 2016-11-21 13:42:14 UTC
Created attachment 57682 [details] [review]
[SIGNED-OFF] Bug 17616: Select tag on elasticsearch mappings page is not closed properly

Test plan
1) Have SearchEngine syspref set to Elastic
2) Look at source on admin/searchengine/elasticsearch/mappings.pl
-> without patch you'll see select with attribute
   data-id="mapping_search_field_name" closing tag written badly as
   "/select>"
-> with patch everything looks OK

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 5 Owen Leonard 2016-11-21 13:42:23 UTC
Created attachment 57683 [details] [review]
[SIGNED-OFF] Bug 17616: (follow-up)Select tag on elasticsearch mappings page is not closed properly

Also some close tag </selected> should be </select>
Follow previous patch to test

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 6 Jonathan Druart 2016-11-22 08:48:22 UTC
Created attachment 57690 [details] [review]
Bug 17616: Select tag on elasticsearch mappings page is not closed properly

Test plan
1) Have SearchEngine syspref set to Elastic
2) Look at source on admin/searchengine/elasticsearch/mappings.pl
-> without patch you'll see select with attribute
   data-id="mapping_search_field_name" closing tag written badly as
   "/select>"
-> with patch everything looks OK

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Comment 7 Jonathan Druart 2016-11-22 08:48:26 UTC
Created attachment 57691 [details] [review]
Bug 17616: (follow-up)Select tag on elasticsearch mappings page is not closed properly

Also some close tag </selected> should be </select>
Follow previous patch to test

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Comment 8 Kyle M Hall 2016-11-22 11:43:17 UTC
Pushed to master for 16.11, thanks Josef, Lari!
Comment 9 Mason James 2016-12-14 11:40:49 UTC
Some conflicts, skipping for 16.05.x