GithubHelp home page GithubHelp logo

Comments (5)

martinpitt avatar martinpitt commented on August 27, 2024

I confirmed this both on the standalone server (http://localhost:3000) and in cockpit mode (http://localhost:9090/welder).

from cockpit-composer.

martinpitt avatar martinpitt commented on August 27, 2024

With npm run build:debug I get a stacktrace:

handleSaveRecipe http://localhost:9090/cockpit/@localhost/welder/dist/main.js:53248:11
	EditRecipePage/_this.handleSave http://localhost:9090/cockpit/@localhost/welder/dist/main.js:66151:32
	<anonym> self-hosted:943:17
	onClick http://localhost:9090/cockpit/@localhost/welder/dist/main.js:66583:32
	onClick self-hosted:987:17
	g http://localhost:9090/cockpit/@localhost/welder/dist/webcomponents-lite.js:72:107
	dispatchEvent http://localhost:9090/cockpit/@localhost/welder/dist/webcomponents-lite.js:143:92
	ReactErrorUtils.invokeGuardedCallback http://localhost:9090/cockpit/@localhost/welder/dist/main.js:27727:9
	executeDispatch http://localhost:9090/cockpit/@localhost/welder/dist/main.js:27513:7
	executeDispatchesInOrder http://localhost:9090/cockpit/@localhost/welder/dist/main.js:27536:7
	executeDispatchesAndRelease http://localhost:9090/cockpit/@localhost/welder/dist/main.js:26936:7
	executeDispatchesAndReleaseTopLevel http://localhost:9090/cockpit/@localhost/welder/dist/main.js:26947:12
	forEach self-hosted:267:13
	forEachAccumulated http://localhost:9090/cockpit/@localhost/welder/dist/main.js:27824:7
	processEventQueue http://localhost:9090/cockpit/@localhost/welder/dist/main.js:27147:9
	runEventQueueInBatch http://localhost:9090/cockpit/@localhost/welder/dist/main.js:34673:5
	handleTopLevel http://localhost:9090/cockpit/@localhost/welder/dist/main.js:34683:7
	handleTopLevelImpl http://localhost:9090/cockpit/@localhost/welder/dist/main.js:39659:7
	perform http://localhost:9090/cockpit/@localhost/welder/dist/main.js:30238:15
	batchedUpdates http://localhost:9090/cockpit/@localhost/welder/dist/main.js:39577:16
	batchedUpdates http://localhost:9090/cockpit/@localhost/welder/dist/main.js:28891:12
	dispatchEvent http://localhost:9090/cockpit/@localhost/welder/dist/main.js:39734:9
	dispatchEvent self-hosted:987:17
	g http://localhost:9090/cockpit/@localhost/welder/dist/webcomponents-lite.js:72:107

from cockpit-composer.

henrywang avatar henrywang commented on August 27, 2024

@jgiardino @jkozol could you please take a look at this issue? This issue causes one of e2e test case fail sometimes, not always. Thanks!

from cockpit-composer.

jgiardino avatar jgiardino commented on August 27, 2024

Without stepping through the code, this appears to be an issue with saving a recipe that has no contents. This issue might be resolved as part of the work that Jacob is doing with Save. Some of the UI updates for Save would disable the Save button if there are no changes to save.

I'm only able to reproduce this for the followings steps:

  1. Create a new recipe
  2. Click Save

However I don't get the same issue when I complete the following steps:

  1. Create a new recipe
  2. add a package
  3. remove the package
  4. Click Save

from cockpit-composer.

martinpitt avatar martinpitt commented on August 27, 2024

This is now fixed with @jkozol's saving rework, the Save button is disabled while the recipe is empty.

from cockpit-composer.

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.