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

locally installed client has an error on Application menu #499

Open
Hoseong-Seo opened this issue Mar 22, 2023 · 4 comments
Open

locally installed client has an error on Application menu #499

Hoseong-Seo opened this issue Mar 22, 2023 · 4 comments
Assignees
Labels
admin-ui Admin web application bug Something isn't working

Comments

@Hoseong-Seo
Copy link
Contributor

Hoseong-Seo commented Mar 22, 2023

When client/web is installed locally, it has an error.
I start the client with commands "yarn start" and login,
and then click Application of side menu.
It shows
ERROR
Cannot read properties of undefined (reading 'filter')
TypeError: Cannot read properties of undefined (reading 'filter')
at children (http://localhost:3000/src_settings_ApplicationContainer_js.ecc6ae88e3430a383d74.hot-update.js:431:54)

I think it is related with 419 line of "src/settings/ApplicationComponent.js"

"


<AppSettingsSubform
isLocked={hasTenants}
certOptions={certOptions}
acmConsoleLink={acmConsoleLink}
hostedZoneOptions={hostedZoneOptions.filter(option => option.name.startsWith(formik.values.domainName))}
route53ConsoleLink={route53ConsoleLink}
>
"

Reproduction Steps

  1. Start the client with commands "yarn start" in local environment(Laptop...)
  2. login in admin
  3. Click "Application" menu of left side.
  4. And show error message.

What did you expect to happen?

What actually happened?

Environment

  • AWS Region :
  • AWS SaaS Boost Version :
  • Workload OS (Linux or Windows) :

Other


This is 🐛 Bug Report

@Hoseong-Seo Hoseong-Seo added bug Something isn't working triage Needs categorization and prioritization labels Mar 22, 2023
@Hoseong-Seo Hoseong-Seo changed the title [title] locally installed client has an error on Applicaion menu [title] locally installed client has an error on Application menu Mar 22, 2023
@Hoseong-Seo Hoseong-Seo changed the title [title] locally installed client has an error on Application menu locally installed client has an error on Application menu Mar 22, 2023
@brtrvn brtrvn added admin-ui Admin web application and removed triage Needs categorization and prioritization labels Mar 24, 2023
@PoeppingT
Copy link
Contributor

@Hoseong-Seo please provide the reproduction steps for this issue

@Hoseong-Seo
Copy link
Contributor Author

Hoseong-Seo commented Mar 31, 2023

Reproduction Steps

  1. Start the client with commands "yarn start" in your local environment(Laptop...)
  2. Login in admin
  3. Click "Application" menu of left side.
  4. And you can show error message.

@PoeppingT
Copy link
Contributor

@Hoseong-Seo have you configured the .env file in your local environment? There is a script in the client/web folder named update_local_env.sh that you can use to populate your local environment variables for running against your installed SaaS Boost environment.

@Hoseong-Seo
Copy link
Contributor Author

Yes, I did it. If it's not configured, I can not login to Admin Page. I think It can be timing issue(bug). When it loads application menu, there is no "hostedZoneOptions" value.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin-ui Admin web application bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants