# String to path (Variable) bug

**URL:** <https://forum.knime.com/t/string-to-path-variable-bug/35438>\
**Category:** KNIME Analytics Platform\
**Tags:** bug\
**Created:** [August 18, 2021, 8:24am UTC](https://forum.knime.com/t/string-to-path-variable-bug/35438 "2021-08-18T08:24:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jricgar](https://forum-cdn.knime.com/user_avatar/forum.knime.com/jricgar/32/965_2.png) [@jricgar](https://forum.knime.com/u/jricgar)\
**Post date:** [August 18, 2021, 8:24am UTC](https://forum.knime.com/t/string-to-path-variable-bug/35438/1 "2021-08-18T08:24:59Z")

</div>

Hello,

We are using String to path (Variable) node inside a component/metanode, we discovered a strange behaviour that seems to be a bug. Lets see why.

This is our component, that sets up all flow variables and connections we need for a wf:

![image](https://forum-cdn.knime.com/uploads/default/original/3X/3/b/3b5cc0ac9a389834ad4852d36c7f7d17523a4af9.png)

Inside that component, we have a String to path (Variable) node:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/a/e/ae734e5ead8d1e43d64807a9648244efe4ec2995.png)

We have modified the default suffix for the path variable from “\_location” to “\_path”. Then we save this component in our KNIME Server or Local machina as a shared component, and we create an absolute link. After doing it, we can check the configuration of this node remains invariable:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/d/5/d52ddc4194b542c46763122e0a70a51c029b4f49.png)

When we use this link (by drag&drop from server/local) in any workflow (including the previous one) and we use it, everything works but, if we open any of these component nodes, we see something really strange. Suffix has been changed again to its default value:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/5/5/55a37b09b8e8528714cce5e1a47b10be8ae275df.png)

We are using KAP 4.3.2.

Any ideas?

---

<div class="post-metadata">

**Author:** ![marvin\_kickuth](https://forum-cdn.knime.com/user_avatar/forum.knime.com/marvin_kickuth/32/24811_2.png) [@marvin\_kickuth](https://forum.knime.com/u/marvin_kickuth)\
**Post date:** [August 20, 2021, 1:43pm UTC](https://forum.knime.com/t/string-to-path-variable-bug/35438/2 "2021-08-20T13:43:25Z")

</div>

Hi @jricgar

I can reproduce the issue. I’m afraid this is a bug in versions below 4.3.3 (internal reference: AP-16300).  
However, the path is saved correctly. The bug occurs during opening of the configuration window, where the default value is used rather than the saved value.  
If you don’t want to or can’t update, I’d suggest the workaround of setting the name each time you edit the configuration… Maybe add the wanted value as a note, so that others know what it should be when opening the configuration.

I’m very sorry for the inconvenience.

Kind regards  
Marvin

---

<div class="post-metadata">

**Author:** ![jricgar](https://forum-cdn.knime.com/user_avatar/forum.knime.com/jricgar/32/965_2.png) [@jricgar](https://forum.knime.com/u/jricgar)\
**Post date:** [September 14, 2021, 11:18am UTC](https://forum.knime.com/t/string-to-path-variable-bug/35438/3 "2021-09-14T11:18:13Z")

</div>

Thanks. We will update the Server in a few weeks. May I suppose this bug will dissapear when updating?

Regards.

---

<div class="post-metadata">

**Author:** ![marvin\_kickuth](https://forum-cdn.knime.com/user_avatar/forum.knime.com/marvin_kickuth/32/24811_2.png) [@marvin\_kickuth](https://forum.knime.com/u/marvin_kickuth)\
**Post date:** [September 14, 2021, 11:36am UTC](https://forum.knime.com/t/string-to-path-variable-bug/35438/4 "2021-09-14T11:36:02Z")

</div>

Yes, any KNIME Analytics Platform version from 4.3.3 (corresponds to server 4.12.3) onward will not have this bug.  
If you require assistance for the [server update](https://docs.knime.com/2021-06/server_update_guide/index.html), feel free to reach out to [support@knime.com](mailto:support@knime.com). We’d be happy to help. 🙂

Kind regards  
Marvin

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [March 15, 2022, 11:36pm UTC](https://forum.knime.com/t/string-to-path-variable-bug/35438/5 "2022-03-15T23:36:40Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
