Project

General

Profile

Actions

bug #9463

open

UniversalViewer causes jQuery version conflict and breaks maps

Added by Andreas Kohlbecker almost 2 years ago. Updated over 1 year ago.

Status:
In Progress
Priority:
Priority14
Category:
cdm-dataportal
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
critical
Found in Version:

Description

When taxon pages are configured tab-less the image-viwer (Universalviewer - UV) is shown together with maps on the same page.

The UV loads jQuery version 3.* which is brought with /uv/lib/offline.js this version becomes global and conflicts with the Drual jQuery version of 1.4.*

locally*

http://edit.test/d7/caryophyllales/cdm_dataportal/taxon/806b5aaf-1e8b-4da1-ae8d-08b1ab9736be/specimens

edit-production

http://caryophyllales.org/caryophyllales_spp/cdm_dataportal/taxon/806b5aaf-1e8b-4da1-ae8d-08b1ab9736be/specimens

Severity:

Only portal with images (see #8912) which are using the universal viewer + tables taxon pages (dataportals-drush-vget cdm_dataportal_taxonpage_tabs) are affected by this bug. At current these are:

Relevant literature:

Debugging:

Universaviewer code is minified, for debugging, build the universalviewer project with the --dev option:

grunt build --dev  

You also can temporarily replace the folder modules/cdm_dataportal/js/universalviewer/uv by a symlink to the univeralviewer
projekt, so "instant deployment" of the uv code to the dataportal project.
See also modules/cdm_dataportal/js/universalviewer/UPDATE.md for some more information.


Related issues

Related to EDIT - task #5083: Alternative image viewer for dataportalClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #9743: Universal Viewer - metadata component gets lost on leaving fullscreen mode NewAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Kohlbecker almost 2 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
Actions #2

Updated by Andreas Kohlbecker almost 2 years ago

  • Related to task #5083: Alternative image viewer for dataportal added
Actions #3

Updated by Andreas Kohlbecker almost 2 years ago

  • Description updated (diff)
  • Priority changed from Highest to Priority14
Actions #4

Updated by Andreas Kohlbecker almost 2 years ago

  • Description updated (diff)
  • Target version changed from Release 5.21 to Release 5.22
Actions #5

Updated by Andreas Kohlbecker almost 2 years ago

work in progress in branch #9463-universalviewer-jquery-conflict

Actions #6

Updated by Andreas Kohlbecker almost 2 years ago

  • Target version changed from Release 5.22 to Release 5.25
Actions #7

Updated by Andreas Kohlbecker over 1 year ago

  • Target version changed from Release 5.25 to Release 5.37
Actions #8

Updated by Andreas Kohlbecker over 1 year ago

  • Related to bug #9743: Universal Viewer - metadata component gets lost on leaving fullscreen mode added
Actions #9

Updated by Andreas Kohlbecker over 1 year ago

using the UV webpack should solve the problem

Actions

Also available in: Atom PDF