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

DuplicateItemError in cms #473

Closed
patrickshan opened this issue Jul 23, 2013 · 1 comment
Closed

DuplicateItemError in cms #473

patrickshan opened this issue Jul 23, 2013 · 1 comment

Comments

@patrickshan
Copy link

Hi there,

Whe I try to use 'edit a draft' link on "Unit Settings" page, I got an error from cms. From the front-end page, it says "The studio servers encountered an error" while from the back end I got these error logs from cms:

2013-07-22 04:28:59,114 ERROR 11536 [django.request] base.py:215 - Internal Server Error: /create_draft
Traceback (most recent call last):
File "/opt/edx/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, _callback_args, *_callback_kwargs)
File "/opt/edx/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, _args, *_kwargs)
File "/opt/wwc/edx-platform/common/djangoapps/util/json_request.py", line 25, in expect_json_with_cloned_request
return view_function(request, _args, *_kwargs)
File "/opt/wwc/edx-platform/cms/djangoapps/contentstore/views/component.py", line 256, in create_draft
modulestore().clone_item(location, location)
File "/opt/wwc/edx-platform/common/lib/xmodule/xmodule/modulestore/mongo/base.py", line 623, in clone_item
raise DuplicateItemError(location)
DuplicateItemError: i4x://test.com/5701/vertical/031fea56f8c849f292f4e129fbd695d8

I used edx-configuration to install the edx-platform. After installation, I changed the EMAIL_BACKEND from smtp to SES while the user was created with smtp mail backend. I am not sure if this is the cause for this issue.

Any idea?

@singingwolfboy
Copy link
Contributor

Is this still an issue with the latest version of the codebase?

chrisrossi pushed a commit to jazkarta/edx-platform that referenced this issue Mar 31, 2014
Remove pystache in favor of our custom version
Sujeet1379 pushed a commit to chandrudev/edx-platform that referenced this issue Nov 17, 2022
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

2 participants