Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Garbage in the behaviours descriptions after removing widgets from workspace view #248

Closed
jpajuelo opened this issue Oct 27, 2016 · 0 comments · Fixed by #249
Closed

Garbage in the behaviours descriptions after removing widgets from workspace view #248

jpajuelo opened this issue Oct 27, 2016 · 0 comments · Fixed by #249
Assignees
Milestone

Comments

@jpajuelo
Copy link
Collaborator

jpajuelo commented Oct 27, 2016

WireCloud is leaving garbage on the behaviours descriptions when removing a widget using the rest API. The wiring editor is designed to ignore that garbage, but other operations fail if this garbage is found. For example, if you package a workspace with that garbage, and the you try to create a new workspace using this template, the operation will fail.

Steps for getting a corrupted wiring status:

  • Create a workspace with several widgets, enable the behaviour engine in the Wiring Editor, connect them.
  • Go to the workspace view, remove one of the connected widgets.
  • Refresh the browser

NOTE: If you don't refresh the web browser, and you enter into the Wiring Editor view, the wiring status will be fixed because the client part handles this correctly.

Steps for getting an error:

  • Create a packaged version of the workspace using the Upload to My Resources
  • Try to create a new workspace using that template
  • WireCloud will fail with a 500 error code
@aarranz aarranz changed the title Bug removing widgets from workspace view Garbage in the behaviours descriptions after removing widgets from workspace view Oct 27, 2016
jpajuelo added a commit to jpajuelo/wirecloud that referenced this issue Oct 27, 2016
@aarranz aarranz added this to the Oct 2016 milestone Oct 27, 2016
jpajuelo added a commit to jpajuelo/wirecloud that referenced this issue Oct 27, 2016
jpajuelo added a commit to jpajuelo/wirecloud that referenced this issue Oct 27, 2016
jpajuelo added a commit to jpajuelo/wirecloud that referenced this issue Oct 31, 2016
aarranz referenced this issue Nov 10, 2016
Remove widget references before removing it
Mognom pushed a commit to Mognom/wirecloud that referenced this issue Jul 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants