Unable to close issue #4535

Closed
opened 2025-11-02 05:53:42 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @aggarwaldev on GitHub (Dec 22, 2019).

Description

When using an Issue template with check box (like the one above), I'm unable to close issue and unable to set Label.
...

Screenshots

Screenshot_2019-12-23 Refactor

Comments

I guess it's a problem with dropzone.js
Here's what console looks like:

downloadable font: OS/2: Bad sTypoLineGap, setting it to 0: -32 (font-family: "Dropdown" style:normal weight:400 stretch:100 src index:0) source: data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjB5AAAAC8AAAAYGNtYXAPfuIIAAABHAAAAExnYXNwAAAAEAAAAWgAAAA … AG0AbwBvAG4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= unknown:300:30915
JQMIGRATE: Migrate is installed, version 3.0.1 jquery-migrate.min.js:33:19
Tribute was already bound to TEXTAREA tribute.min.js:1:3479
Error: No URL provided. dropzone.js:439:15
jQuery.Deferred exception: Dropzone is not defined @https://try.gitea.io/js/index.js?v=3734fe86ac738d6b4793aa29527ce5b8:1:99673
e@https://try.gitea.io/vendor/plugins/jquery/jquery.min.js?v=3.4.1:2:29453
l/</t<@https://try.gitea.io/vendor/plugins/jquery/jquery.min.js?v=3.4.1:2:29755
 undefined jquery.min.js:2:31008
ReferenceError: Dropzone is not defined index.js:2378:4
Source map error: Error: request failed with status 404
Resource URL: https://try.gitea.io/vendor/plugins/tribute/tribute.min.js
Source Map URL: tribute.min.js.map
Originally created by @aggarwaldev on GitHub (Dec 22, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.10.1 - Git version: 2.22.0 - Operating system: Ubuntu (Linux) - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (https://try.gitea.io/aggarwal.dev/sample/issues/1) - [ ] No - [ ] Not relevant - Log gist: ## Description When using an Issue template with check box (like the one above), I'm unable to close issue and unable to set Label. ... ## Screenshots ![Screenshot_2019-12-23 Refactor](https://user-images.githubusercontent.com/22045791/71326835-5e578380-2526-11ea-9fa7-36a8abf2179d.png) <!-- **If this issue involves the Web Interface, please include a screenshot** --> ## Comments I guess it's a problem with dropzone.js Here's what console looks like: ``` downloadable font: OS/2: Bad sTypoLineGap, setting it to 0: -32 (font-family: "Dropdown" style:normal weight:400 stretch:100 src index:0) source: data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjB5AAAAC8AAAAYGNtYXAPfuIIAAABHAAAAExnYXNwAAAAEAAAAWgAAAA … AG0AbwBvAG4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= unknown:300:30915 JQMIGRATE: Migrate is installed, version 3.0.1 jquery-migrate.min.js:33:19 Tribute was already bound to TEXTAREA tribute.min.js:1:3479 Error: No URL provided. dropzone.js:439:15 jQuery.Deferred exception: Dropzone is not defined @https://try.gitea.io/js/index.js?v=3734fe86ac738d6b4793aa29527ce5b8:1:99673 e@https://try.gitea.io/vendor/plugins/jquery/jquery.min.js?v=3.4.1:2:29453 l/</t<@https://try.gitea.io/vendor/plugins/jquery/jquery.min.js?v=3.4.1:2:29755 undefined jquery.min.js:2:31008 ReferenceError: Dropzone is not defined index.js:2378:4 Source map error: Error: request failed with status 404 Resource URL: https://try.gitea.io/vendor/plugins/tribute/tribute.min.js Source Map URL: tribute.min.js.map ```
GiteaMirror added the type/bug label 2025-11-02 05:53:42 -06:00
Author
Owner

@bagasme commented on GitHub (Dec 23, 2019):

Can you reproduce this issue without issue template?

@bagasme commented on GitHub (Dec 23, 2019): Can you reproduce this issue without issue template?
Author
Owner

@aggarwaldev commented on GitHub (Dec 23, 2019):

No. It works fine as long as there's no check box.
https://try.gitea.io/aggarwal.dev/sample/issues/2

@aggarwaldev commented on GitHub (Dec 23, 2019): No. It works fine as long as there's no check box. https://try.gitea.io/aggarwal.dev/sample/issues/2
Author
Owner

@lunny commented on GitHub (Dec 23, 2019):

@aggarwaldev try site is a master version not v1.10.1.

@lunny commented on GitHub (Dec 23, 2019): @aggarwaldev try site is a master version not v1.10.1.
Author
Owner

@zeripath commented on GitHub (Dec 23, 2019):

Does this set an id?

@zeripath commented on GitHub (Dec 23, 2019): <a id="dropzone">Does this set an id?</a>
Author
Owner

@zeripath commented on GitHub (Dec 23, 2019):

but I wanted to link to Does this set an id?

@zeripath commented on GitHub (Dec 23, 2019): but I wanted to link to <a href='#dropzone'>Does this set an id?</a>
Author
Owner
@zeripath commented on GitHub (Dec 23, 2019): <a id="some-id">This some-id</a> <a href="#some-id">this should link to some-id</a> <a href="#user-content-some-id">this should link to some-id</a> <a id="user-content-some-id">Let's see what you do here</a>
Author
Owner

@jolheiser commented on GitHub (Dec 23, 2019):

For the record, the tests above are because this issue actually comes from header IDs.
The OP issue has ### module which is given an auto-ID of module which is then giving dropzone.js a problem.

https://stackoverflow.com/a/3434388
https://github.com/go-gitea/gitea/blob/master/public/vendor/plugins/dropzone/dropzone.js#L1619-L1623

@jolheiser commented on GitHub (Dec 23, 2019): For the record, the tests above are because this issue actually comes from header IDs. The OP issue has `### module` which is given an auto-ID of `module` which is then giving `dropzone.js` a problem. https://stackoverflow.com/a/3434388 https://github.com/go-gitea/gitea/blob/master/public/vendor/plugins/dropzone/dropzone.js#L1619-L1623
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4535