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

bug: error when logging in on dev build #4406

Open
techfg opened this issue Jan 4, 2025 · 1 comment
Open

bug: error when logging in on dev build #4406

techfg opened this issue Jan 4, 2025 · 1 comment

Comments

@techfg
Copy link
Collaborator

techfg commented Jan 4, 2025

When running uesio locally, when attempting to login in, the following error is encountered (e.g., after clicking the Ben mock user).

The issue has to do with these lines of code. After commenting them out and restarting, login completes successfully.

image

@zachelrath
Copy link
Contributor

@humandad Looks like we already have some accommodations for the uesio/web and uesio/docs sites not being installed locally in systembot_load_external.go, but there must be something else going on. Haven't had time to look at this much but we may need some more fallback logic in case those sites don't exist? Or maybe something else is going on.

This bit:

		// This is a hack to prevent the page from bombing if we don't have a site for these collections.
		// We can remove this once we have better error handling for individual wires in a route dependencies load.
		if op.CollectionName == "uesio/studio.blogentry" || op.CollectionName == "uesio/studio.recentdoc" {
			return nil
		}

@humandad humandad added this to the Beta Availability milestone Jan 16, 2025
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

No branches or pull requests

3 participants