Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-8371

Bitbucket server return "'dict' object has no attribute '_mutable'" message on the PUT requests.

    XMLWordPrintable

Details

    Description

      I have work on the bitbucket api and bitbucket OAuth.
      I don't have problem with "GET", "POST" and "DELETE", But on the PUT requests server return error. Also The restbrowser without problem send the PUT requests .

      Error Code: 500 -------------------------------------------------------------------------------------------
      Error Message: 'dict' object has no attribute '_mutable' ------------------------------
      Error Details : ----------------------------------------------------------------------------------------------

      #!python
      
      File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/piston/resource.py", line 198, in __call__ result = checked_meth(request, *args, **kwargs) File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/piston/resource.py", line 185, in checked_meth return meth(*args, **kwargs) File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/newrelic-2.5.0.94/newrelic/hooks/component_piston.py", line 33, in __call__ return self._nr_wrapped(*args, **kwargs) File "/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/api/v10/decorators.py", line 334, in wrapper return func(*args, **kwargs) File "/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/bb/decorators.py", line 38, in wrap return f(request, *a, **kwa) File "/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/bb/decorators.py", line 374, in wrapped_function return func(*args, **kwargs) File "/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/api/v10/decorators.py", line 75, in wrapped_function return func(*args, **kwargs) File "/opt/python/domains/bitbucket.org/2013-07-25/bitbucket/../bitbucket/apps/api/v10/handlers.py", line 2031, in update form.merge_from_initial() File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/piston/forms.py", line 18, in merge_from_initial self.data._mutable = True 
      

      I send requests with wp_remote_request function.

      Attachments

        Activity

          People

            6995b9ed1710 evzijst
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: