Skip to content

Install Script editor crashing on open #59

Description

@flakeyy

Current Behavior

When editing an egg and going to the install script page, the install script edit box crashes immediately and drops an error in the console:

Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at o (ace.js:11878)
    at t.loadModule (ace.js:2452)
    at g.setTheme (ace.js:11893)
    at new g (ace.js:11088)
    at t.edit (ace.js:13658)

I am unable to edit the install script thru the web UI due to this.

Tested on multiple different eggs (getting the same result each time)

Expected Behavior

The install script box loads (editor_install), and the installer script for the egg can be edited and saved.

Steps to Reproduce

Open a egg and go to the install script tab, the edit box should not load and there should be the above error in console, relating to ace.js

Panel Version

6.2.0

Panel Installation Type

  • Official Panel Docker image.
  • native install for Panel.
  • I used a third party installation script or Docker image.

Daemon Version

1.4.0

Daemon Installation Type

  • Offical Docker image.
  • Native install.
  • Pyrodactyl Elytra
  • Pterodactyl Wings
  • I used a third party installation script or Docker image.
  • Daemon Version does not apply to this Bug

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions