question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Replace removes valid dropdown property

See original GitHub issue

Describe the Bug

As I upgrade a task from one template to the other a valid property gets removed unintentionally, despite the fact it should be kept according to our good practices (unlink + apply new template shall always be equivalent to replace (with new template)).

capture 2IJ3WT_optimized

Steps to Reproduce

  1. Go to connectors extension demo
  2. Open REST Task diagram
  3. Replace legacy REST Task with REST Connector Template
  4. See that username and password entered are gone and authentication type is reset to No Auth (despite being set to basic in the original template)

Expected Behavior

  • Valid template data is kept: username, password, and authentication type are kept

Environment

  • Host (Browser/Node version), if applicable: Any
  • OS: Arch
  • Library version: latest (2022-09-19)

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
nikkucommented, Oct 6, 2022

Example showing bearer token to work end-to-end:

capture ax9In2_optimized

1reaction
marstammcommented, Sep 30, 2022

I added the implementation on top of your branch here: https://github.com/bpmn-io/bpmn-js-properties-panel/pull/796

Read more comments on GitHub >

github_iconTop Results From Across the Web

Replacing input fields from select choices (dropdown menu ...
Does anyone know how I can hide/show or add/remove these elements from the page? Would it be more-or-less the same if I had...
Read more >
Video: Drop-down list settings - Microsoft Support
This video focuses on how to use a cell range and named range. Want more? Create a drop-down list · Add or remove...
Read more >
Dropdown | Dash for Python Documentation | Plotly
The searchable property is set to True by default on all dcc.Dropdown components. To prevent searching the dropdown value, just set the searchable...
Read more >
location.replace() - Web APIs - MDN Web Docs
The replace() method of the Location interface replaces the current resource with the one at the provided URL. The difference from the ...
Read more >
All About ASP.Net DropDownList | Simplilearn
The Remove() property lets us remove items from the drop-down list by their names. DropDownList1.Items.Insert(int index, “ItemName”). The Insert ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found