diff --git a/docs/en_US/release_notes_6_13.rst b/docs/en_US/release_notes_6_13.rst index 92c361d46..9b8853716 100644 --- a/docs/en_US/release_notes_6_13.rst +++ b/docs/en_US/release_notes_6_13.rst @@ -30,6 +30,7 @@ Bug fixes | `Issue #7452 `_ - Ensure that an error is thrown if clipboard access is not provided and change the copy rows shortcut. | `Issue #7468 `_ - Fixed an issue where the History tab is getting blank and showing an error after some queries are executed. + | `Issue #7481 `_ - Fixed an issue where OWNED BY was incorrectly set to NONE when adding user privileges on the sequence. | `Issue #7497 `_ - Fixed an issue with the error message being displayed at the right place for Azure deployments. | `Issue #7521 `_ - Fixed an issue where the Query Editor loses focus when saving a query (Alt+s). | `Issue #7527 `_ - Fixed API test cases for Postgres 14.4. @@ -50,3 +51,4 @@ Bug fixes | `Issue #7625 `_ - Fixed Spanish translations typo. | `Issue #7630 `_ - Ensure that If the trigger function definition is changed, drop and recreate the trigger in the schema diff. | `Issue #7632 `_ - Fixed an issue where a user could not authenticate using Azure CLI on OSX. + | `Issue #7633 `_ - Ensure that the autofocus is on the input control for the master password and server password dialogs. diff --git a/web/pgadmin/static/js/Dialogs/ConnectServerContent.jsx b/web/pgadmin/static/js/Dialogs/ConnectServerContent.jsx index fa541531f..bd38d4f45 100644 --- a/web/pgadmin/static/js/Dialogs/ConnectServerContent.jsx +++ b/web/pgadmin/static/js/Dialogs/ConnectServerContent.jsx @@ -47,8 +47,8 @@ export default function ConnectServerContent({closeModal, data, onOK, setHeight} useEffect(()=>{ setTimeout(()=>{ firstEleRef.current && firstEleRef.current.focus(); - }, 275); - }, []); + }, 350); + }, [firstEleRef.current]); useEffect(()=>{ setHeight?.(containerRef.current?.offsetHeight); diff --git a/web/pgadmin/static/js/Dialogs/MasterPasswordContent.jsx b/web/pgadmin/static/js/Dialogs/MasterPasswordContent.jsx index dad8a1c5d..2cb73f501 100644 --- a/web/pgadmin/static/js/Dialogs/MasterPasswordContent.jsx +++ b/web/pgadmin/static/js/Dialogs/MasterPasswordContent.jsx @@ -49,8 +49,8 @@ export default function MasterPasswordContent({ closeModal, onResetPassowrd, onO useEffect(() => { setTimeout(() => { firstEleRef.current && firstEleRef.current.focus(); - }, 275); - }, []); + }, 350); + }, [firstEleRef.current]); useEffect(() => { setHeight?.(containerRef.current?.offsetHeight); diff --git a/web/pgadmin/static/js/SchemaView/index.jsx b/web/pgadmin/static/js/SchemaView/index.jsx index 9d59fc577..827af5650 100644 --- a/web/pgadmin/static/js/SchemaView/index.jsx +++ b/web/pgadmin/static/js/SchemaView/index.jsx @@ -472,7 +472,7 @@ function SchemaDialogView({ if(message) { setFormErr({ name: path, - message: message, + message: _.escape(message), }); } }); @@ -642,7 +642,7 @@ function SchemaDialogView({ console.error(err); setFormErr({ name: 'apierror', - message: parseApiError(err), + message: _.escape(parseApiError(err)), }); }).finally(()=>{ if(checkIsMounted()) {