[4.56.1] Link loss on variables

Hello,
when you delete an action from a block that has a Get last state, the link to the variable used afterward breaks — it changes from {{x.y}} to {{x-1.y-1}} (I hope the video will make this clear enough…):

Hello @mutmut .

I think this topic is the same as that feature request on which you can add your vote :wink:

If you confirm that it’s the same thing, I will close this topic…

Hi @StephaneB
I’ll need the link :wink:

In any case for me it’s a bug because I didn’t have this problem before (I can’t say which version worked).

Ah no, looking more closely at your video, it’s not the same thing, what you’re describing is ‹ more serious ›…

@pierre-gilles maybe this is an opportunity to address both at the same time?

oh I think you’re referring to the request for a unique ID per variable :wink:

@StephaneB I think this is the link you were talking about : [Scène] Propager la renumérotation des variables récupérées, quand l'une d'elles est supprimée (and I had already voted for it :wink: )

1 Like

I had forgotten the link, oops: [Scène] Propager la renumérotation des variables récupérées, quand l'une d'elles est supprimée

You were quicker than me :wink:

1 Like

Indeed, it’s a bug, thanks for the report!

I’ve created an issue:

I’ll investigate and get back to you if I can’t reproduce it.

I don’t think so, they’re really two different topics :slight_smile:

1 Like

Thanks for the feedback @mutmut, I identified the bug and fixed it in this PR:

The fix is merged and will be included in the next Gladys release :slight_smile:

1 Like

Available in Gladys Assistant 4.57 :

I’m closing this thread.