As-anonymus commented on issue #26976:
URL: https://github.com/apache/superset/issues/26976#issuecomment-3632050698

   @rusackas  this issue still persists when adding the new plain text password 
it shows connection successful but when going for finish it says an error 
occurred.
   
   2025-12-09 12:22:54,287:ERROR:flask_appbuilder.api:property 
'masked_encrypted_extra' of 'Database' object has no setter
   Traceback (most recent call last):
     File 
"/app/.venv/lib/python3.11/site-packages/flask_appbuilder/api/__init__.py", 
line 111, in wraps
       return f(self, *args, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^
     File "/app/superset/views/base_api.py", line 120, in wraps
       duration, response = time_function(f, self, *args, **kwargs)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/app/superset/utils/core.py", line 1363, in time_function
       response = func(*args, **kwargs)
                  ^^^^^^^^^^^^^^^^^^^^^
     File "/app/superset/utils/log.py", line 303, in wrapper
       value = f(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^
     File "/app/superset/views/base_api.py", line 92, in wraps
       return f(self, *args, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^
     File "/app/superset/databases/api.py", line 543, in put
       changed_model = UpdateDatabaseCommand(pk, item).run()
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/app/superset/utils/decorators.py", line 266, in wrapped
       return on_error(ex)
              ^^^^^^^^^^^^
     File "/app/superset/utils/decorators.py", line 236, in on_error
       raise ex
     File "/app/superset/utils/decorators.py", line 259, in wrapped
       result = func(*args, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^
     File "/app/superset/commands/database/update.py", line 87, in run
       database = DatabaseDAO.update(self._model, self._properties)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/app/superset/daos/database.py", line 62, in update
       return super().update(item, attributes)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/app/superset/daos/base.py", line 161, in update
       setattr(item, key, value)
   AttributeError: property 'masked_encrypted_extra' of 'Database' object has 
no setter
   115.117.115.6:43199 - - [09/Dec/2025:12:22:54 +0000] "PUT /api/v1/database/5 
HTTP/1.1" 500  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to