[Bug]: Multiple Source Media Reps not consistent when reopening session

Aperta
#917 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Riproduci i passaggi per salvare e riaprire la sessione, quindi esamina gli entry point dei source nodes commands.sourceMediaRepsAndNodes, commands.sourceMediaRepSwitchNode e commands.sourceMediaRepSourceNode. Confronta il loro comportamento prima e dopo la riapertura; il lavoro è completato quando i source nodes mantengono le connessioni switch e source-node e tutti e tre i comandi funzionano di nuovo dopo il reload.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
What happened?

we are using the multiple source media reps and everything works fine while we are running the session.

however problems arise whe nwe save a session and want to reopen it again.

Somehow the source nodes loose the connection to the switch node and to each other.

These commands don't work anymore on the soruce nodes:

  • commands.sourceMediaRepsAndNodes
    -> only gives the same node and repname it was started from
    -> solution: run with the switch node as the argument (then we get all reps and nodes)
  • commands.sourceMediaRepSwitchNode
    -> doesn't work on any source node after session reopen
  • commands.sourceMediaRepSourceNode
    -> doesn't work on any soruce node after session reopen

Our solution is saving the sourceMediaRepSourceNode on every other represantion as a property and then only checking this property instead of using commands.sourceMediaRepSourceNode
and saving the switch node on the sourceNode so we can use commands.sourceMediaRepsAndNodes properly

steps to reproduce:

  1. add a source media rep to a source
  2. save the session
  3. open the sessio again
  4. try the different functions on the source nodes
List all the operating systems versions where this is happening

linux

On what computer hardware is this happening?

any

Relevant console log output

Environment variables

No response

Extra information

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Lingua principale
C++
Stelle
797
Fork
259
Merge medio
4g 4h
PR unite (30g)
34

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AcademySoftwareFoundation/OpenRV

Tutte le issue di AcademySoftwareFoundation/OpenRV

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.