Project

General

Profile

Actions

bug #10012

closed

Fix failing SpecimensTreeViewTest for dataportals after debian11 migration

Added by Andreas Müller about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Highest
Assignee:
Category:
cdm-dataportal
Target version:
Start date:
05/02/2022
Due date:
05/06/2022
% Done:

100%

Estimated time:
Severity:
major
Found in Version:

Description

copied from #9972

First check if there is any strange behavior for specimen trees (and maybe others) due to the debian11 upgrade

  • Ignore on SpecimensTreeViewTest due to problem with "squeeze" (Unable to locate element: {"method":"id","selector":"squeeze"})
*** Element info: {Using=id, value=squeeze}
    at sun.reflect.GeneratedConstructorAccessor13.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
    at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)
    at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:413)
    at org.openqa.selenium.By$ById.findElement(By.java:218)
    at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)
    at eu.etaxonomy.dataportal.pages.PortalPage.getDataPortalContent(PortalPage.java:443)
    at eu.etaxonomy.dataportal.selenium.tests.reference.SpecimensTreeViewTest.loadPage(SpecimensTreeViewTest.java:62)
    at eu.etaxonomy.dataportal.selenium.tests.reference.SpecimensTreeViewTest.switchToView(SpecimensTreeViewTest.java:56)

Files


Related issues

Related to EDIT - task #10008: Cleanup after server upgradesNewAndreas Müller04/08/202204/22/2022

Actions
Copied from EDIT - task #9972: Upgrade edit-integrationClosedAndreas Müller03/17/202203/25/2022

Actions
Actions #1

Updated by Andreas Müller about 2 years ago

  • Copied from task #9972: Upgrade edit-integration added
Actions #2

Updated by Andreas Müller about 2 years ago

  • Tags set to specimens-view-tree
Actions #3

Updated by Katja Luther about 2 years ago

Tested the tree view with local portal installation connected to the same cdm instance (https://int.e-taxonomy.eu/cdmserver/integration_reference/) -> works

Tested other taxa in reference portal, for example https://int.e-taxonomy.eu/dataportal/integration/reference/cdm_dataportal/taxon/58dfe85b-74d6-4bcd-bf75-a3be54d11fb9/specimens -> works

But opening https://int.e-taxonomy.eu/dataportal/integration/reference/cdm_dataportal/taxon/d245083e-3bda-435f-9bb3-bdc2249ff23c/specimens results in '500 Internal Server Error'

Inspecting the cdm_server.log does not show any problems. Only "HHH000179: Narrowing proxy to class eu.etaxonomy.cdm.model.occurrence.MediaSpecimen - this operation breaks ==" and "HHH000179: Narrowing proxy to class eu.etaxonomy.cdm.model.taxon.Taxon - this operation breaks ==" but this should not result in an Internal Server Error

Actions #4

Updated by Katja Luther about 2 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Andreas Müller almost 2 years ago

  • Due date changed from 04/08/2022 to 05/06/2022
  • Start date changed from 04/06/2022 to 05/02/2022
Actions #8

Updated by Katja Luther almost 2 years ago

  • % Done changed from 0 to 80

php5 needed to be disabled and php7.4 enabled. This is done and pages with jstor image viewer as url are displayed correctly now. Reenabled the tests again.

Actions #9

Updated by Katja Luther almost 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 80 to 100

Tests are ok again, so we can close this ticket.

Actions #10

Updated by Andreas Müller almost 2 years ago

  • Related to task #10008: Cleanup after server upgrades added
Actions

Also available in: Atom PDF