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.

input placeholders not picked up when bind statement is present

See original GitHub issue

I am running into this problem that I want to add a bind statement like this one: https://github.com/peta-pico/fpsi-queries/blob/main/get-classdef-reviews.rq#L85

This seemed to work fine, until I realized that the input placeholders like ?__author_iri (here) are no longer picked up. After commenting out the bind-statement above, they work again.

I tried this with the grlc.io service as well as a local instance with the latest Docker version, with the same result.

This seems to be a bug, or am I doing something wrong?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
tkuhncommented, Jul 27, 2021

Sure! Minimal example is here: http://grlc.io/api-git/tkuhn/grlc-unicode-test

The fails query contains the unicode escape sequence \u0001 in a string, which leads to the placeholder ?__class_iri not being picked up as such.

The succeeds query is identical except for the unicode escape sequence. Here the placeholder is picked up without problems.

Otherwise, both queries work just fine.

0reactions
tkuhncommented, Aug 7, 2021

I see. I didn’t realize the parsing is only for the placeholder extraction. Showing a warning will certainly help. I found a workaround for my particular query that doesn’t involve any “\u…” sequences.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - HTML input field placeholder not displaying when binding ...
The placeholder is shown when the value of the input is empty. Since a decimal always has a default value, it can't be...
Read more >
Bind Function and Placeholders in C++ - GeeksforGeeks
What are placeholders? Placeholders are namespaces that direct the position of a value in a function.
Read more >
Don't Use The Placeholder Attribute - Smashing Magazine
A heading reads, “Sign Up. It's free and always An example of input grid fetishization from a certain infamous blue website. (Large preview)....
Read more >
<input>: The Input (Form Input) element - HTML
The <input> HTML element is used to create interactive controls ... If this attribute is not specified, the default type adopted is text...
Read more >
5 Binding and Defining in OCI - Oracle Help Center
The code that implements this example is found in "Steps Used in OCI Binding". Figure 5-1 Using OCIBindByName() to Associate Placeholders with Program ......
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