Status Update
Comments
va...@google.com <va...@google.com>
va...@google.com <va...@google.com> #2
Hello there!
If I understand this request correctly, you'd like an API to retrieve all the existing products and SKUs, like the list provided
Can you provide more details on the workflow you have in mind and the potential usefulness of this feature?
- What impact (in terms of costs, productivity, etc.) could this feature have?
- What workaround (if any) are you currently using?
Kind regards.
em...@sismex.com <em...@sismex.com> #3
The other problem comes from updating the license list on our side. Since we can’t query an API, we risk human error when manually updating the list and deploying it to customers. If someone makes a mistake, it can corrupt the whole license and SKU list for customers, which will remove all of their Google licenses.
ra...@blackwoodbuildersgroup.com <ra...@blackwoodbuildersgroup.com> #4
In that case, can't you update the license list programmatically when a user with a new license is imported?
va...@google.com <va...@google.com> #5
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #6
Hi!
We have to make numerous calls to get this information, which counts against our quota.
Can you provide more details about this? How are you getting this information?
No because the list is stored as a custom template on our side, so we don't have the ability to change it during import.
I understand it's not feasible to update the custom template on your side during the import process?
ka...@gmail.com <ka...@gmail.com> #7
1) Sorry, this part wasn't linked to building the list but rather getting the user setup with their license information. Right now, we get the license list from the link or from when customers complain.
va...@google.com <va...@google.com> #8
I have reported this internally. Any public updates about this will be communicated here.
Thank you.
pl...@gmail.com <pl...@gmail.com> #9
Hi!
If you're a reseller/distributor, this might be useful to you:
I don't quite understand your use case, but it might be worth investigating the
[Deleted User] <[Deleted User]> #10
I am also heavily impacted by this issue.
Is there any progress to report?
Kind regards
Noah
[Deleted User] <[Deleted User]> #11
sf...@gmail.com <sf...@gmail.com> #12
za...@gmail.com <za...@gmail.com> #13
sp...@gmail.com <sp...@gmail.com> #14
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #15
Can we have an update on when this will be fixed?
[Deleted User] <[Deleted User]> #16
kr...@gmail.com <kr...@gmail.com> #17
pe...@thefieldhousecanaan.com <pe...@thefieldhousecanaan.com> #18
mi...@grasshopperdesign.land <mi...@grasshopperdesign.land> #19
bh...@gmail.com <bh...@gmail.com> #20
va...@google.com <va...@google.com>
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #21
And in what respect is different from "assigned"?
zz...@gmail.com <zz...@gmail.com> #22
When will this issue be resolved?
st...@ordoxy.com <st...@ordoxy.com> #23
ma...@gmail.com <ma...@gmail.com> #24
ge...@gmail.com <ge...@gmail.com> #25
jo...@acoem.com <jo...@acoem.com> #26
wi...@owl360.co <wi...@owl360.co> #27
os...@pbs.com.mx <os...@pbs.com.mx> #28
fu...@gmail.com <fu...@gmail.com> #29
su...@pmatc.in <su...@pmatc.in> #30
[Deleted User] <[Deleted User]> #31
je...@les3chouettes.fr <je...@les3chouettes.fr> #32
jo...@gmail.com <jo...@gmail.com> #33
tn...@gmail.com <tn...@gmail.com> #34
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #35
jo...@acoem.com <jo...@acoem.com> #36
kr...@916schools.org <kr...@916schools.org> #37
ke...@magentahealth.ca <ke...@magentahealth.ca> #38
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #39
I'm fed up with looking for workarounds.
I have to rewrite my javascript code because I cannot use V8 as I need db access.
Google please, make this a Priority!!!
You cannot seriously market your G Suite and then have bugs like these that
remain unsolved for such a long time
ma...@elmarasi.com <ma...@elmarasi.com> #40
When are we getting a solution to this issue?
to...@umo.services <to...@umo.services> #41
Workaround welcomed.
jo...@prata.mx <jo...@prata.mx> #42
I think this may be a major issue, we do not want to have our connections passwords all over our files, it is a security concern also.
Regards
rr...@gmail.com <rr...@gmail.com> #43
The issue opened one year back still not fixed. Seems it is very hard to resolve?
ed...@parcelpickup.co.uk <ed...@parcelpickup.co.uk> #44
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #45
When will this issue be solved?
What is the roadmap.
This situation is impossible to plan on.
Should we abandon Google Apps?
Or will you solve this bug?
Will we have to sue you in court and call in the journalist before anything changes?
hm...@gmail.com <hm...@gmail.com> #46
ro...@trainocate.co.id <ro...@trainocate.co.id> #47
to...@quality-care.no <to...@quality-care.no> #48
te...@mr-beam.org <te...@mr-beam.org> #49
Can't switch back from V8 - so sad!!!
ml...@veloxwheels.com <ml...@veloxwheels.com> #50
ro...@oklahomeseller.com <ro...@oklahomeseller.com> #51
jo...@acoem.com <jo...@acoem.com> #52
After reading the latest comment I tried to add jdbc as an argument and assigning it to jdbc in the library. This test is successful and can be used as a workaround:
Example in the library:
function functionThatUseJDBC ( arg1, arg2..., tjdbc) {
jdbc = tjdbc;
...
}
in the script using the library :
function toto() {
...
functionThatUseJDBC(arg1, arg2..., jdbc);
...
}
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #53
can you be a bit more specific?
do you make the jdbc connection in the library of in the script that calls the library?
jo...@acoem.com <jo...@acoem.com> #54
The only thing that I make in the script calling the library is putting jdbc as an argument in the call to the library that using it.
te...@lmcp.com.co <te...@lmcp.com.co> #55
It happened to me when trying to call a library that is on legacy version into a v8 script.
mi...@gmail.com <mi...@gmail.com> #56
Ok here is how it's done:
function iUseTheLibrary(){ jdbc = Jdbc function usingLibrary(arg1, arg 2, jdbc) }
and in the library function
function iAmTheLibrary(arg1, arg2, dummyJdbc){ Jdbc= dummyJdbc var conn = Jdbc.getConnection(.....) }
ar...@trbls.com <ar...@trbls.com> #57
ar...@trbls.com <ar...@trbls.com> #58
from script:
var currentEcrStatusVar= JDBCconnect_ver3.getStatusOfEcrPassJDBC(currentEcrVar,Jdbc)
in library:
function getStatusOfEcrPassJDBC(ecrNumber, Jdbc) {
var conn = Jdbc.getConnection(dbUrl, user, PropertiesService.getScriptProperties().getProperty("pass"));
...
}
an...@google.com <an...@google.com>
[Deleted User] <[Deleted User]> #59
@trbls.com's solution worked for me for a bit. After 10 or so hours it randomly stopped working again. Then I moved everything into the same script as @magentahealth.ca suggested and again everything started working for a while. Nevertheless, after a few hours it started bringing up a different error, this time it was a "Failed to establish a database connection. Check connection string, username and password" message. Checked everything from DB firewall to punctuation and spelling in my code and saw nothing wrong. Is there a timeframe established for these errors to be fixed? Do you really need another year to fix it?
cl...@parcelpickup.co.uk <cl...@parcelpickup.co.uk> #60
ed...@parcelpickup.co.uk <ed...@parcelpickup.co.uk> #61
If you were connection to an mssql server then I think you might have just been unlucky as another issue started for me on the 6/7 July 2021 see:
I was hoping that that issue was caused when they were looking to solve this one but from what I can see I'm guessing this one still hasn't been solved...
ma...@unal.edu.co <ma...@unal.edu.co> #62
Temporary solution
Sending the Jdbc object as a parameter solves the problem for me.
//Library with connection
function madeQuery(tjdbc){
tjdbc.getConnection(url, username, password);
}
When you use the library, we send the parameter
MyLibraryWithJDBCConnection.madeQuery(Jdbc)
Tip for Apps Script maintainers
I have reviewed the Java documentation, which I assume is running behind and the location of the Driver on the server should be declared. Very surely when using a new Script you lose the Jdbc reference and this error appears. I don't know where, but I think that in the V8 engine they should specify the driver in each new script created, something like:
Class.forName("com.mysql.jdbc.Driver")
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #63
released on august 9
one would hope that google would also do something for google cloud sql users but NO
I looked into using appsheet which was acquired by google.
clearly google is investing massive amounts of money in appsheet looking at the release notes
BUT if you want to use appsheet together with google cloud sql this will cost you 400 USD per month for 20 users (which is the minimum) invoiced on a yearly basis so a 4800 USD downpayment ...
I think I will look for another solution
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #64
Nothing gets fixed, nothing gets done
And at the same time Google wonders why it's loosing market share to Amazon WS or Microsoft Azure
How can you be so stupid Google and not fix critical bugs like these
You'll be a dinosaur in no time
[Deleted User] <[Deleted User]> #65
to...@umo.services <to...@umo.services> #66
Can the ticket owner change it?
ke...@magentahealth.ca <ke...@magentahealth.ca> #67
Are we misunderstanding something? Is this a bug or a design choice and we just need to workaround it?
ed...@parcelpickup.co.uk <ed...@parcelpickup.co.uk> #68
[Deleted User] <[Deleted User]> #69
co...@beetstech.com <co...@beetstech.com> #70
I attempted this workaround with a script that regularly completes in ~20 seconds, and multiple attempts ran until I manually terminated execution at 15 minutes. Anyone else experienced this behavior?
is...@google.com <is...@google.com>
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #72
It would be funny if it weren’t so sad.
sc...@menta.com <sc...@menta.com> #73
That's all I have to say.
co...@gmail.com <co...@gmail.com> #74
I've been using Apps Script for about 8 years now and just this weekend I decided to start implementing a real MySQL database instead of Google Sheets. I spent about 8 hours tediously working through many other bugs/issues related to Jdbc
and getCloudSqlConnection()
only to hit this one.
While I'd love to see this bug get fixed for the sake of everyone here already relying on Jdbc in libraries already, I'm now more hesitant to implement it myself, given that any new breaking issues that come up may take 2+ years to be fixed. :(
la...@ljd-tech.com <la...@ljd-tech.com> #75
I now get the error: TypeError: kJdbc.getConnection is not a function
I am now completely stuck until this gets fixed, unless someone has a suggestion on how to fix the workaround.
[Deleted User] <[Deleted User]> #76
haven't moved on from Rhino on my scripts.
la...@ljd-tech.com <la...@ljd-tech.com> #77
ra...@blackwoodbuildersgroup.com <ra...@blackwoodbuildersgroup.com> #78
I know that Rhino has added a few modern features over the last 2 years, e.g. Array.filter() is now supported but it wasn't 2 years ago, but I haven't systematically explored this, and I suspect most of ES6 is still not supported by Rhino.
la...@ljd-tech.com <la...@ljd-tech.com> #79
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #80
I have set up an oracle apex (application express) environment on maxapex dot com
It cost me around 80 EUR a month and I have hugely better performance than on mysql
Also I get the power and depth of features of the oracle database.
Google would have had its shot at it if they had taken enterprise customers seriously.
However, letting a bug like this one lie around for years without giving any any feedback
on when it will be solved just means one thing : we don't care about you customer
la...@ljd-tech.com <la...@ljd-tech.com> #81
You still cannot use Jdbc within a library function, but the workaround (pass Jdbc to the library function) appears to be working again.
br...@noritsu.com <br...@noritsu.com> #82
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #83
If Google is unwiling to solve such a critical and probably easy to fix bug, they are not worth my money.
it...@iaf.nu <it...@iaf.nu> #84
Jdbc is not defined
mi...@google.com <mi...@google.com> #85
Hi,
This issue has been fixed. To anyone previously affected by this, can you check whether you can still reproduce this?
Kind regards.
ed...@parcelpickup.co.uk <ed...@parcelpickup.co.uk> #86
Jdbc is not defined
la...@ljd-tech.com <la...@ljd-tech.com> #87
mi...@google.com <mi...@google.com> #88
I cannot reproduce this using the steps provided in
Can you provide a minimal reproducible example?
ed...@parcelpickup.co.uk <ed...@parcelpickup.co.uk> #89
ke...@magentahealth.ca <ke...@magentahealth.ca> #90
When you said the issue is fixed, are you saying that the ROOT issue in
Thanks for clarifying!
mi...@google.com <mi...@google.com> #91
Responding to
la...@ljd-tech.com <la...@ljd-tech.com> #92
Steps:
- take a Jdbc query that works.
const connection = Jdbc.getConnection(url, username, password);
- put that Jdbc query into a function and call the function - it still works
- put that function into a library and call the function - ReferenceError: Jdbc is not defined
- call the function and pass Jdbc - this workaround used to work, but now ReferenceError: Jdbc is not defined
function query(kJdbc) {
const connection = kJdbc.getConnection(url, username, password);
}
ma...@seedtosaleteam.com <ma...@seedtosaleteam.com> #93
I am also getting "ReferenceError: Jdbc is not defined" on a script today that has been working without changes for many months.
Edit:
I had a library project with a connect(tjdbc)
function that returns a Jdbc connection. In another script (many actually), I had used library.connect(Jdbc)
, this is where the error is returned.
Today, if I edit the library function to simply use Jdbc, instead of the passed in argument, then edit the function call to be library.connect()
(without the "Jdbc"), that appears to work fine now, which I don't believe worked before.
jm...@skillsunlimitedinc.org <jm...@skillsunlimitedinc.org> #94
I am seeing the same things described in comments #92 and #93 above.
NOTE: Not even I can reliably reproduce this issue I'm seeing because the same function without any edits randomly runs this morning with or without errors.
mi...@google.com <mi...@google.com> #95
Hi,
Are you able to reproduce this in newly created projects, or just in old ones?
tt...@arpae.it <tt...@arpae.it> #96
like that
[image: image.png]
The body of function is that
function testJdbc()
{
Jdbc.getCloudSqlConnection('');
}
but I waited for the tooltip (NOT copy and paste) then runned the function
waiting for the error.
Not sure this changes things but is what I have done.
After that Jdbc is newly defined. I suspect this simply refresh the
manifest file.
Hope this helps
T
Il giorno mer 6 lug 2022 alle ore 09:27 <buganizer-system@google.com> ha
scritto:
ma...@seedtosaleteam.com <ma...@seedtosaleteam.com> #97
I can reproduce the issue in a brand new project, using library.connect(Jdbc)
, using the old library.
ma...@seedtosaleteam.com <ma...@seedtosaleteam.com> #98
It looks like the library function itself can now succesfully use Jdbc, instead of having to pass it in as an argument. This did not work previously, thus the workaround of passing Jdbc in as an argument. This is the optimal solution, I'd like to go through all of my scripts that use this library and remove the Jdbc argument, but I'd just worry that it will get changed back in the future...
jm...@skillsunlimitedinc.org <jm...@skillsunlimitedinc.org> #99
ed...@parcelpickup.co.uk <ed...@parcelpickup.co.uk> #100
Has anyone else's experience shown this? Many thanks
la...@ljd-tech.com <la...@ljd-tech.com> #101
ReferenceError: Jdbc is not defined
Passing Jdbc to the library function used to work around the problem, but it now generates the same error.
ed...@parcelpickup.co.uk <ed...@parcelpickup.co.uk> #102
Yes, I am getting this issue in this case too. Has anyone tried removing the work around and not passing the Jdbc object in a V8 script to the library script and removing the Jdbs work around from the library script too?
jm...@skillsunlimitedinc.org <jm...@skillsunlimitedinc.org> #103
i have just tried this, and removing the passthrough args for the Jbdc workaround seems to have fixed it. however, i am now seeing that the workaround works in some sheet bound scripts and not others. i copy/pasted the following function into a number of my sheets and it throws the Jdbc reference error in some sheet scripts but not others:
function testJdbc(){var x = Jdbc;}
all my sheet bound scripts are running V8 and i am unaware of any differences that should be causing this issue at this time, unless it has something to do with when the project was created. i am about to test that possibility out now.
jm...@skillsunlimitedinc.org <jm...@skillsunlimitedinc.org> #104
i made a copy of my original database connection function and modified it so that there was no passthrough workaround. then i pasted that modified function in the script of the foreign sheet script that i'd been attempting to make the call from and found that the mere inclusion of that function in the script file fixed the "ReferenceError: Jdbc is not defined" error i've been getting for the last 2 or 3 days. no other changes appeared to be necessary to get the original passthrough method working again as well as the non-passthrough method.
in other words, just make a function that calls the Jdbc connection directly in your foreign script file and everything still using the passthrough method goes back to working.
can anyone confirm this behavior?
i also seem to be seeing that removing the function from the script file breaks it again. keeping the function in the script file and commenting it out does not break it. i don't know how to explain that last bit. i would assume that commenting out that function would have had the same effect as removing it entirely, but it apparently does not.
maybe, when the script file is loaded there is some optimization process that activates the Jdbc driver, which no longer is activated with the passthrough method?
mi...@google.com <mi...@google.com> #105
Hi,
Just to clarify this. The issue reported in
function myFunction() {
Jdbc.newDate(1000);
}
And then call it in the main project:
function myFunction() {
LIB.myFunction();
}
No error should be thrown.
Is anyone still getting an error when doing this?
la...@ljd-tech.com <la...@ljd-tech.com> #106
I did notice something curious however. When the workaround stopped working I simply copied the library code into a new file in my various spreadsheet scripts. I just noticed, however, that when I did this I neglected to change the code that called the library function, i.e. it was still Library.queryFunction. I do not understand why this worked. It appears that while I was calling the library query function it was actually using the local query function.
ed...@parcelpickup.co.uk <ed...@parcelpickup.co.uk> #107
It was some work as I have V8 library functions that use other V8 library functions that use other V8 library functions and on that goes up 4 layers and I was having to pass the JDBC argument up each layer to the one at finally first accessed the database so I am happy that in future we will not have to do this....
I have been working on a bound script that used the library function and I did come across a new unrelated error that I have never see before:
'We're sorry, a server error occurred while reading from storage. Error code NOT_FOUND'
However this solution in on Stackoverflow solved this issue for me
Specifically this response:
"There are two things that need to be checked in order to fix this issue.
1. The Library reference should link to the Deployment Version and not to the Development Mode.
2. The Library file should not be restricted in case you are sharing the copy of the original file with somebody else."
ca...@restauratiemetkwaliteit.be <ca...@restauratiemetkwaliteit.be> #108
Because I lost faith in the commitment of Google to Google Apps given that it took 2 years to solve this bug.
I really am curious as to what earth-shattering huge obstacle stood in the way of solving this bug much earlier
ed...@parcelpickup.co.uk <ed...@parcelpickup.co.uk> #109
I agree that for me personally, in my specific use case , this was very problematic...However, as I understand it, to fall foul of this issue you firstly need to be making db connections, secondly you need to be running V8 and thirdly you need to be using libraries to run your scripts.
All I hope is that now I have fixed my scripts and removed the Jdbc workaround that they don't revert as for me the work around caused all kind of additional issues, especially when it came to testing scripts.
la...@ljd-tech.com <la...@ljd-tech.com> #110
ed...@parcelpickup.co.uk <ed...@parcelpickup.co.uk> #111
I duplicated my library functions, rename them (slightly), republish them as library functions with the JDBC argument removed from the parameters of these new library functions. I then removed the JDBC argument from the function calling the new library function. I also had to specify the the version of the library function I was calling. What I mean by that is that I could not call the library as "HEAD (Developer Mode)" and these new functions work for me....
mi...@google.com <mi...@google.com> #112
In response to
Are you still able to reproduce it if you follow steps provided in
la...@ljd-tech.com <la...@ljd-tech.com> #113
- copied and renamed the library
- renamed the query function and removed the jdbc parameter
- added the new library to the target spreadsheets
- changed the query function calls in the target spreadsheets to the new library and new function (with the extra parameter removed)
NONE of these steps should have been required.
mi...@google.com <mi...@google.com> #114
I'm closing this issue as it has been fixed.
Copying and renaming the old library shouldn't be required here. Also, passing a Jdbc
parameter is not needed.
If you start encountering this again in the future, please create a new issue.
go...@gotbaseballcards.net <go...@gotbaseballcards.net> #115
function connectToDB() {
var url = "jdbc.mysql://"+server+":"+port+"/"+dbName;
var conn = jdbc.getConnection(url, userName, password);
Logger.log(conn);
con.close();
}
9:55:20 AM Notice Execution started
9:55:20 AM Error
ReferenceError: jdbc is not defined
connectToDB @ Code.gs:9
jm...@skillsunlimitedinc.org <jm...@skillsunlimitedinc.org> #116
Try changing the '.' after jdbc to ':'
I believe this is what you need:
var url = "jdbc:mysql://"+server+":"+port+"/"+dbName;
And capitalize the J in jdbc.getConnection()
I believe this is what you need:
const conn = Jdbc.getConnection(dbUrl, { user: username, password: userPwd });
ca...@magentahealth.ca <ca...@magentahealth.ca> #117
For the past 6 months or so I've continued to randomly get the "ReferenceError: Jdbc is not defined" error when using the V8 runtime.
Has anyone else been experiencing this?
mi...@gmail.com <mi...@gmail.com> #118
Is there excess time on the front side of the script call ? Or is it when the Jdbc call is made and can't be found? Can I track it down? How is it related to the Jdbc reference error?
The fact that it is intermittent and seemingly random really makes this a nasty little bugger.
ke...@magentahealth.ca <ke...@magentahealth.ca> #119
I concur with commenter 118.
Description
Unable to use Chrome V8 when calling Jdbc service in another Apps Script project.
What steps will reproduce the problem?
1. Create a script named "Project A", have it use the new V8 runtime.
2. Create a script named "Project B", don't use V8 with it.
3. In "Project B" create a function that calls Jdbc.newDate().
4. Save a version of "Project B" and copy its "Script ID" from the properties.
5. In "Project A" add "Project B" as a library using its "Script ID".
6. In "Project A" create a function that calls your function from "Project B"
7. Run the function in "Project A" that calls the function in "Project B".
What is the expected output?
If file A runs without Chrome V8, no issue.
Otherwise, I get :
ReferenceError: Jdbc is not defined
Note: file B runs fine on its own, I can call the Jdbc service directly without any problem.
Please provide any additional information below.