Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

The OSM is not working with JavaScript compression #50

Closed
schettn opened this issue May 6, 2020 · 0 comments · Fixed by #51 or #78
Closed

The OSM is not working with JavaScript compression #50

schettn opened this issue May 6, 2020 · 0 comments · Fixed by #51 or #78
Assignees
Labels
bug Something isn't working
Milestone

Comments

@schettn
Copy link
Member

schettn commented May 6, 2020

Describe the bug
The OSM uses the constructor name of a statement object as a reference to the database table name. This variant works without JS JavaScript compression.
After react-script build compresses the code, the OSM can no longer resolve the table names with the help of the model constructor.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://snek.at/'
  2. Login
  3. Wait
  4. See error

Expected behavior
The page should load without errors. The caching must be carried out without falsifying data.

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS, Windows
  • Browser: chrome, safari

Additional context

  • Ref: 🐍
@schettn schettn added the bug Something isn't working label May 6, 2020
@schettn schettn added this to the DA Start milestone May 6, 2020
@schettn schettn self-assigned this May 6, 2020
schettn added a commit that referenced this issue May 6, 2020
More information about these modifications can be found here:
Ref: #50
@schettn schettn linked a pull request May 6, 2020 that will close this issue
6 tasks
@schettn schettn changed the title The OSM is not working with JavaScript obfuscation The OSM is not working with JavaScript compression May 7, 2020
@pinterid pinterid closed this as completed May 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants