Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FISH-6483 add several other js require in admingui #5913

Merged
merged 2 commits into from
Sep 9, 2022

Conversation

aubi
Copy link
Contributor

@aubi aubi commented Aug 24, 2022

Description

Added require for function calls on table, so they succeed.

Currently, there is no (known) JS warning in the log while working with admin gui.
There is only 404 for a js file (will be consecutive PR).

Important Info

Testing

Testing Performed

Going through admin gui (e.g. select list of JDBC resources, go to detail, ping, deploy application, etc.)

Testing Environment

Linux, OpenJDK 11

Notes for Reviewers

Open JS debugger while going through admin gui and watch uncatched exceptions.

@aubi
Copy link
Contributor Author

aubi commented Aug 24, 2022

Jenkins test, please

@breakponchito
Copy link
Contributor

Jenkins test please

@luiseufrasio luiseufrasio self-requested a review August 29, 2022 13:22
Copy link
Contributor

@luiseufrasio luiseufrasio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got this:

uploadFrame.jsf:48 Uncaught TypeError: Cannot read properties of undefined (reading 'value')
at HTMLInputElement.onclick (uploadFrame.jsf:48:63)

When I did a deploy.

The message was showed in Chrome Web Tools Console

@aubi
Copy link
Contributor Author

aubi commented Aug 29, 2022

Jenkins test, please

@aubi
Copy link
Contributor Author

aubi commented Aug 29, 2022

@arieki
Fixed. Let me know, if you will find some other issues.

@arieki
Copy link
Contributor

arieki commented Aug 30, 2022

@arieki Fixed. Let me know, if you will find some other issues.

I believe you want to mention @luiseufrasio instead

Copy link
Contributor

@luiseufrasio luiseufrasio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! It was fixed

@breakponchito
Copy link
Contributor

Jenkins test please

Create fake object with id and value, so it passes various checks.
Later, when module is loaded, the checks are done correctly.
@aubi aubi force-pushed the FISH-6347-fix-table-requires branch from de15808 to 6b04d53 Compare September 9, 2022 11:53
@aubi
Copy link
Contributor Author

aubi commented Sep 9, 2022

Jenkins test please

@aubi aubi merged commit 5867e6e into payara:Payara6-tck Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants