VirtualFlyBrain / VFB2

Virtual Fly Brain Documentation Site
https://virtualflybrain.org
MIT License
2 stars 4 forks source link

Query For Menu doesn't open on page load #360

Open Robbie1977 opened 1 year ago

Robbie1977 commented 1 year ago

Please give details of the issue:

https://v2-dev2.virtualflybrain.org/org.geppetto.frontend/geppetto?id=VFB_00030624&i=VFB_00017894,VFB_00030624

The menu fails to initialise properly on loading a term with the page.

click contains: {handlerAction: 'subMenuGrouping', parameters: Array(1)} handlerAction:"subMenuGrouping" parameters:['undefined']

Causing https://github.com/VirtualFlyBrain/geppetto-vfb/blob/231349b7dfc23ba4451c54db778aa30c6d851f06/components/interface/VFBFocusTerm/VFBFocusTerm.js#L213 to fail

Support info: Mon Jun 26 2023 19:17:56 GMT+0100 (British Summer Time) Chrome 114.0.0.0 [1920,1000] https://v2-dev2.virtualflybrain.org/org.geppetto.frontend/geppetto?id=VFB_00030624&i=VFB_00017894,VFB_00030624

jrmartin commented 1 year ago

Hi @Robbie1977 , I'm debugging this issue. What branches are you using for v2-dev deployment and what URL for the Neo4J Data Source Service?

I'm using this combination, but fails to retrieve VFB ID's from the model: org.geppetto.core - branch : VFBv2.2.0 org.geppetto.model - branch : development org.geppetto.model.swc - branch : VFBv2.1.0.1 org.geppetto.simulation - branch : development org.geppetto.frontend - branch : development uk.ac.vfb.geppetto - branch : addSOLRcache org.geppetto.datasources - branch : passingSOLR geppetto-vfb - branch : development

Neo4J Data Source URL : http://pdb.v4.virtualflybrain.org/db/neo4j/tx

Robbie1977 commented 1 year ago

v2-dev runs development branch which runs: https://github.com/VirtualFlyBrain/geppetto-vfb/blob/development/Dockerfile#L12

#SET TAG/BRANCH to use:
ARG geppettoRelease=vfb_20200604_a
ARG geppettoModelRelease=vfb_20200604_a
ARG geppettoCoreRelease=VFBv2.2.0
ARG geppettoSimulationRelease=VFBv2.1.0.2
ARG geppettoDatasourceRelease=passingSOLR
ARG geppettoModelSwcRelease=v1.0.1
ARG geppettoFrontendRelease=VFBv2.1.0.3
ARG geppettoClientRelease=VFBv2.2.3
ARG ukAcVfbGeppettoRelease=fixingSOLR
jrmartin commented 1 year ago

Created a fix, but for VFB_00030624 only shows one query result : 'Term Info Test'. It's the same result we get through the query builder for this ID. PR #1442 image