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

Add fallbacks for dbc endpoints #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Luzifix
Copy link
Contributor

@Luzifix Luzifix commented Feb 20, 2024

These fallbacks make the SceneScript viewer work again

@Marlamin
Copy link
Owner

What is the issue with the scenescript viewer that you're having and why are you normalizing DB2 names to lowercase?

@Luzifix
Copy link
Contributor Author

Luzifix commented Feb 20, 2024

There were two issues, the first is that the request to load the SceneScriptPackage is not lower case which results in a "DB2 not found" issue and the second was that the build was set to null. The request url looks like this on the latest version (0.4.1) on my site https://.../dbc/header/SceneScriptPackage/?build=null.

@Marlamin
Copy link
Owner

It not being lowercase shouldn't matter as DBCProvider's StreamForTableName already lowercases the DB2, so the .ToLower change shouldn't do anything. The build being null is an issue though, are you running in online mode maybe?

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.

2 participants