Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Improve error handling to indicate cause of error and if overall push worked or not, especially with "Cannot distribute outlines error" for panel pushes

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

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
csharp
Ambito
tooling

Direzione di ricerca

Inizia con il flusso di push che chiama DistributeOutlines per i piani e poi applica le impostazioni dei frammenti. Riproduci la sequenza di attivazione nello Structural base push test script collegato e confronta il risultato riportato quando la distribuzione degli outline o l'impostazione dei frammenti fallisce con gli elementi che sono stati effettivamente sottoposti a push. Il lavoro è completato quando gli errori identificano la causa, indicano se il push complessivo è riuscito e forniscono informazioni per la risoluzione.

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

Descrizione

type:bug
Description:

Currently an opaque error is returned if pushing, and then trying to push again. This error is due to the inability to do a repeated push in this way, and should be handled with a reported error accordingly. We should also have clear error handling for floors, as they currently report an error when the DistributeOutlines method fails for the collection of floors on a single story. When this occurs, the fragment setting can also fail, throwing a similarly opaque error that implies the push failed when all other elements actually still pushed correctly.

Steps to reproduce:

Toggle push to true, false, and true again when pushing levels and other elements. Our standard structural test script includes floors that trigger the distribute outlines failure described above as well, which then returns the mentioned opaque error.

Expected behaviour:

Errors clearly indicating what went wrong, and what still worked, along with info needed to resolve the error.

Test file(s):

Structural base push test script.

Lingua principale
C#
Stelle
5
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

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 BHoM/RAM_Toolkit

Tutte le issue di BHoM/RAM_Toolkit

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.