Coder Social home page Coder Social logo

Comments (6)

kolaente avatar kolaente commented on June 4, 2024 1

Should be fixed in dfed1f4 - please verify with the next unstable release in ~30 min if the fix works for you.

from vikunja.

kolaente avatar kolaente commented on June 4, 2024

That already works. What version are you using? Can you reproduce this on try?

from vikunja.

RoboMagus avatar RoboMagus commented on June 4, 2024

Ah, yes. I see the problem now.

I am using the latest greatest versions for all Vikunja containers, and I could reproduce this in try.
The scenario that I ran into was typing the name of the Subtask and then hitting the button add a new task relation, which would then throw me an error cannot read properties of null (reading 'id').
After trying some variations on this, when just hitting enter after filling in the subtask name it works as intended.

I expected the on screen button and enter to perform the same action though. Is that not the case?

from vikunja.

kolaente avatar kolaente commented on June 4, 2024

Interesting, I was not able to reproduce the error about the missing property - I got an error the task would not exist (which kind of makes sense, given that Vikunja didn't create it on the fly).

Can you provide exact steps to reproduce the bug?

How should this work? The same when pressing enter and clicking "Add a new task relation"?

from vikunja.

RoboMagus avatar RoboMagus commented on June 4, 2024

When trying to reproduce now I no longer get the same error message. This may have changed when I've updated the vikunja docker images.

For the record, what I would do is:

  1. Open an existing task in the kanban board
  2. From the sidebar select add task relations
  3. Enter a subtask title in the textbox.
  4. Select subtask from the dropdown list.
  5. Click Add a new task relation.

When going through the same steps now I get Request failed with status code 404. The list task does not exist.

To avoid user confusion, would it be possible to create the task when clicking the button when a task with the provided name does not exist?

from vikunja.

kolaente avatar kolaente commented on June 4, 2024

To avoid user confusion, would it be possible to create the task when clicking the button when a task with the provided name does not exist?

I think that would be the best solution, yes.

from vikunja.

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.