Giter Club home page Giter Club logo

Comments (5)

amolenaar avatar amolenaar commented on July 22, 2024

Hi @Sycophantic-Witty, thanks for your report.

I can reproduce it (I think).

  1. Open a model containing a connected association (e.g. test-models/all-elements.gaphor)
  2. Select the association (see where it is in the model browser)
  3. Select another element
  4. Click the association in the model browser
  5. An error toast shows

For me, it happens as soon as I select the association. It looks like it works okay for other relationship elements it seems.

It looks like it's caused by the member end field. If I leave it empty, I see no error, if it contains a name for the association end, I get the error.

This is a new error in 2.25: before that, the property editor was not updated when you select an element in the model browser.

from gaphor.

Sycophantic-Witty avatar Sycophantic-Witty commented on July 22, 2024

Hi @amolenaar,

Today, I did not immediately faced the issue with my model (although it came back later), so I tried to reproduce it with a new model (attached).
I created two SysML blocks and a composite relationship between them in the "[bdd] Feature Domain" diagram of a new SysML model and saved with only the "Model Navigation" diagram opened.
When I restart Gaphor and open this model, the "Model Navigation" diagram appears half-updated: borders only, no text displayed.
If I now open the "[bdd] Feature Domain" diagram, I see the same kind of half-updated diagram. Clicking on the relationship between the two blocks in the "Model Browser" triggers the assertion error.
test-model.zip

from gaphor.

danyeaw avatar danyeaw commented on July 22, 2024

@all-contributors please add @Sycophantic-Witty for bug

from gaphor.

allcontributors avatar allcontributors commented on July 22, 2024

@danyeaw

@Sycophantic-Witty already contributed before to bug

from gaphor.

danyeaw avatar danyeaw commented on July 22, 2024

Thanks @Sycophantic-Witty for the issue report 👍

from gaphor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.