Invisible Characters in server connect parameters Part 2

@george my other post got closed so I can’t add it there. But I found another example of where its putting the wrong info etc.

Original Post: https://community.wappler.io/t/invisible-characters-in-server-connect-parameters/64158

This time I am seeing it in google maps…

Well it might be just an old leftover. So just enter the attribute values again.

It shouldn’t happen on new entries/edits of the properties, that is what we fixed.

But if you have it from the previous times in your code, we don’t autofix everything, you just need to re-edit those attributes.

I have a similar issue with a page i started developing about 2 weeks ago. Difficulty is there is no reference to where the problem lies. It could be anywhere i assume.

parser.js:406 Error parsing expression: ​ Error: Unexpected token "​" at index 0 in expression: ​
at dmx.lexer (parser.js:185:1)
at dmx.parse (parser.js:403:1)
at s.parse (BaseComponent.js:78:1)
at c._ (BaseComponent.js:488:1)
at get value (signal.js:76:1)
at c.sync (signal.js:152:1)
at get value (signal.js:137:1)
at c.run (signal.js:112:1)
at dmx.effect (signal.js:190:1)
at s.$watch (BaseComponent.js:486:1)

(and no maps on page)

any tips on where to find the erroneous character?

just backspace over the ““ and then re-add them manually. that seems to solve the problem

look for a yellow box around the ““ in code view. Thats what you need to change

no @george this is a new map I just added.

Dont think it is sitting in a "", thats the problem with tracing it.

Well if it is new, how did you manage to get it? We need exact steps

I just added a new google map and used dynamic markers. It seems to happen when you leave something empty? I mean its not a big issue at this point because I know how to fix it when it happens and I can see the yellow square in the code indicting which is the problem and then I just change it. You said previously you wanted to know where this was happening so I just posted this….

Found it! It was in a "".
in this case in an api parameter

But how do you do that? Did you just enter and leave the empty field or had selected something and delete it afterwards? And how did you delete it?

In my case, the code was produced by Wappler when adding the server connect with noload set.
As it was a noload action,the optional parameter was left blank as the parameter is only needed when the server connect is dynamically loaded.
No manual editing of the action occurred.

yeah mine was similar to Hyberbytes. It was a field that I didn’t put anything into. I didn’t have anything in there and then delete it. It just showed in the code by itself etc.

but you did enter the field and delete any content and then left?

no I did nothing as I wasn’t using that

Fixed in Wappler 7.2.2

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