When Slug Generation Method is none, the new version of the tag editing feature cannot be displayed normally after creating a new tag

My Slug generation method is shown below:

Here is the image that shows the problem and the console log:

Error while processing route: tag.edit.tab You must provide a param `tag_slug`. f@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:55:75777
45741/b[1]@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:55:76280
45741/M.prototype.generate@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:55:79195
_updateURL@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:7:37868
finalizeTransition@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:7:35507
5099/getTransitionByIntent/i.promise<@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:7:34611
k@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:65:50635
w@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:65:50528
invoke@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:14537
flush@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:13617
flush@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:15333
_end@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:20091
81107/H/this._boundAutorunEnd@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:16837
promise callback*81107/r/<@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:11997
flush@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:292:55520
_scheduleAutorun@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:22280
_ensureInstance@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:22167
schedule@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:18253
48252/<@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:64:62160
_@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:65:50142
m@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:65:49806
g@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:65:49955
49456/m/<@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:65:49740
promise callback*49456/m/<@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:65:49678
49456/m/<@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:65:49709
invoke@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:14537
flush@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:13617
flush@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:15333
_end@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:20091
81107/H/this._boundAutorunEnd@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:16837
promise callback*81107/r/<@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:11997
flush@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:292:55520
_scheduleAutorun@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:22280
_ensureInstance@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:22167
schedule@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:226:18253
48252/<@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:64:62160
T@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:65:51065
resolve@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:7:28908
S@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:302:9538
getTransitionByIntent@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:7:34027
transitionByIntent@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:7:32912
doTransition@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:7:35214
transitionTo@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:7:39526
_doTransition@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:7:48130
transitionTo@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:26:3574
replaceWith@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:26:3628
model@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:100:3823
async*deserialize@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:7:16071
getModel@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:7:27301
5099/resolve/<@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:7:25090
k@https://communitytest.akarinliu.com/assets/chunk.f315f135db76700eec92.d41d8cd9.js:65:50635
1 Like

@Discourse Haven’t you fixed this bug?

Please wait a while, Discourse staff may not be online, and bugs are not fixed instantly :slight_smile: .

1 Like

I recon OP is refering to this question:

1 Like

I think Jagster’s right – over there it looks like OP saw it seem to work properly at one point.

Translations can come out a little blunt, so I’d read that more like I thought you’d already fixed this?

2 Likes

I moved this to the bug category. I cannot spot a fix for this since my forum was last updated and I can reproduce this.

Steps to reproduce:

  1. Set slug_generation_method to “none”
  2. Create a new tag by adding it to a topic or at /tags
  3. If you haven’t already, enable experimental_tag_settings_page
  4. Go to the tags page and try to edit the tag you created.

Expected result: You can edit the tag just like the ones created while the slug generation method was “ascii” or “encoded”
Actual result: You only see “Error - Something went wrong,” and there are errors in the browser console about the missing tag_slug.

Error: You must provide a param tag_slug

Error while processing route: tag.edit.tab You must provide a param tag_slug. Error: You must provide a param tag_slug

Uncaught (in promise) Error: You must provide a param tag_slug.


Additional note: slug_generation_method is “none” for some languages by default. So, this doesn’t only affect forums where the admin changes the setting.

1 Like

Thanks folks, we’ve noted this bug and will have a fix soon!

(Also yes, translations from Chinese can be interesting. Being a Chinese speaker myself I totally get their actual meaning, though!)
1 Like