Closed Bug 763084 Opened 12 years ago Closed 12 years ago

Traceback Error when trying to save tags

Categories

(developer.mozilla.org Graveyard :: Wiki pages, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: retornam, Unassigned)

References

()

Details

STR:
1) Visit https://developer-new.mozilla.org/en-US/docs/Apps/Apps_JavaScript_API
2) Hit edit
3) Add  tags
4) hit the save button

Expected Result:
Tag is saved

Actual result:
Traceback 


Traceback (most recent call last):

  File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/data/www/developer.mozilla.org/kuma/vendor/src/django-waffle/waffle/decorators.py", line 20, in _wrapped_view
    return view(request, *args, **kwargs)

  File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/views/decorators/http.py", line 37, in inner
    return func(request, *args, **kwargs)

  File "/data/www/developer.mozilla.org/kuma/apps/access/decorators.py", line 46, in _wrapped_view
    return view_fn(request, *args, **kwargs)

  File "/data/www/developer.mozilla.org/kuma/apps/wiki/views.py", line 146, in process
    return func(request, *args, **kwargs)

  File "/data/www/developer.mozilla.org/kuma/apps/wiki/views.py", line 841, in edit_document
    slug_split.append(post_data['slug'])

  File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/utils/datastructures.py", line 235, in __getitem__
    raise MultiValueDictKeyError("Key %r not found in %r" % (key, self))

MultiValueDictKeyError: 'Key \'slug\' not found in <QueryDict: {u\'content\': [u\'<h2 id="Feature_availability_">Feature availability </h2>\\n<p><a> </a></p>\\n<p><a>The JavaScript API described here is not yet available in a released version of Firefox (June 2012). The current released version (13) has an earlier version of this API. The API described here is available only in Firefox </a><a class="external" href="http://nightly.mozilla.org/" title="http://nightly.mozilla.org/">Nightly</a>, which is based on nightly builds of the code, and is for testing purposes only.</p>\\n<p>If native support is not available in the browser, Mozilla has implemented a JavaScript library as a shim. The library is available here:&nbsp;<a class="link-https" href="https://apps.persona.org/include.js">https://apps.persona.org/include.js</a></p>\\n<p>To access the apps API, include the JavaScript library&nbsp;in your app.&nbsp;The API is the same either way.&nbsp;</p>\\n<p>Mozilla has also implemented a prototype repository (or "dashboard") at <a class="link-https" href="https://myapps.mozillalabs.com/" title="https://myapps.mozillalabs.com/"><code>myapps.mozillalabs.com</code></a>&nbsp;for testing and experimentation.</p>''>\\n\'], u\'form\': [u\'rev\'], u\'current_rev\': [u\'2199\']}>'
Blocks: 756263
I think this is fixed by:
https://github.com/mozilla/kuma/commit/f112d8be575f22ac0459e81a471c543cbc21dfe6
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Version: Kuma → unspecified
Component: Website → Landing pages
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.