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

Uncaught exception after XML upload #2

Open
lpereira opened this issue Nov 27, 2024 · 0 comments
Open

Uncaught exception after XML upload #2

lpereira opened this issue Nov 27, 2024 · 0 comments

Comments

@lpereira
Copy link

Hi! I've installed this plugin (version 0.4.5) onto my Discourse (3.4.0.beta3-dev) installation. When uploading my MediaWiki export XML generated from a MediaWiki version 1.34, I get no changes in the UI.

When looking at the JS console, I get a few deprecation warnings:

composer.js:874 Deprecation notice: The UppyUploadMixin is deprecated. See discourse/lib/uppy/uppy-upload.js for the new implementation. [deprecation id: discourse.uppy-upload-mixin]
deprecate-shim.js:34 DEPRECATION: [PLUGIN discourse-media-wiki-import] The `uploading` property path was used in the `discourse/plugins/discourse-media-wiki-import/discourse/templates/components/media-wiki-uploader.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.uploading}} [deprecation id: ember-this-fallback.this-property-fallback] See https://meta.discourse.org/t/337276 for more details.
(anonymous) @ deprecate-shim.js:34
deprecate-shim.js:34 DEPRECATION: [PLUGIN discourse-media-wiki-import] The `id` property path was used in the `discourse/plugins/discourse-media-wiki-import/discourse/templates/components/media-wiki-uploader.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.id}} [deprecation id: ember-this-fallback.this-property-fallback] See https://meta.discourse.org/t/337276 for more details.
(anonymous) @ deprecate-shim.js:34
deprecate-shim.js:34 DEPRECATION: [PLUGIN discourse-media-wiki-import] The `uploadedMediaWikiExportDisplayName` property path was used in the `discourse/plugins/discourse-media-wiki-import/discourse/templates/components/media-wiki-uploader.hbs` template without using `this`. This fallback behavior has been deprecated, all properties must be looked up on `this` when used in the template: {{this.uploadedMediaWikiExportDisplayName}} [deprecation id: ember-this-fallback.this-property-fallback] See https://meta.discourse.org/t/337276 for more details.

And then a backtrace:

(anonymous) @ deprecate-shim.js:34
index.js:1384 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'call')
    at pe._set (index.js:1384:1)
    at pe.set (index.js:1353:1)
    at b (core.js:61:1)
    at Function.create (core.js:401:1)
    at d.create (index.js:385:1)
    at ze.create (index.js:1997:1)
    at Object.evaluate (runtime.js:2676:1)
    at Object.evaluate (runtime.js:1052:1)
    at It.evaluateSyscall (runtime.js:4204:1)
    at It.evaluateInner (runtime.js:4175:1)
    at It.evaluateOuter (runtime.js:4168:1)
    at Wt.next (runtime.js:4999:1)
    at Wt._execute (runtime.js:4986:1)
    at Wt.execute (runtime.js:4979:1)
    at Ut.handleException (runtime.js:4313:1)
    at Vt.handleException (runtime.js:4521:1)
    at Dt.throw (runtime.js:4260:1)
    at $e.evaluate (runtime.js:2088:1)
    at Dt._execute (runtime.js:4247:1)
    at Dt.execute (runtime.js:4232:1)
    at qt.rerender (runtime.js:4547:1)
    at dr.render (index.js:4674:1)
    at index.js:4934:1
    at Nt (runtime.js:4080:1)
    at gr._renderRoots (index.js:4916:1)
    at gr._renderRootsTransaction (index.js:4960:1)
    at gr._revalidate (index.js:4992:1)
    at invoke (backburner.js.js:280:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at backburner.js.js:523:1

I'm happy to provide any other information that might be relevant.

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

1 participant