public inbox for [email protected]  
help / color / mirror / Atom feed
Unable to change variable of role on OS X 10.11
3+ messages / 2 participants
[nested] [flat]

* Unable to change variable of role on OS X 10.11
@ 2016-01-12 17:52  Axel Rau <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Axel Rau @ 2016-01-12 17:52 UTC (permalink / raw)
  To: [email protected]

Hi,

thanks for maintaining pgAdmin3.

I tried to change a variable of a login role and was unable to edit the field.
I could not delete characters of the existing definition or add characters.
Copying the definition into the paste buffer was also impossible.

Deleting the variable and creating a new definition worked.

This is pgAdmin 1.22.0 downloaded and installed on Mac OS X 10.11.2

The bug existed already in the previous version.

Axel
---
PGP-Key:29E99DD6  ☀ +49 160 9945 7889  ☀ computing @ chaos claudius



-- 
Sent via pgadmin-support mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [pgadmin-support] Unable to change variable of role on OS X 10.11
@ 2016-01-13 13:01  Neel Patel <[email protected]>
  parent: Axel Rau <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Neel Patel @ 2016-01-13 13:01 UTC (permalink / raw)
  To: Axel Rau <[email protected]>; +Cc: [email protected]; pgadmin-hackers

Hi,

Please find the patch file for fix of above mentioned issue.
Do let us know for any comments.

Thanks,
Neel Patel

On Tue, Jan 12, 2016 at 11:22 PM, Axel Rau <[email protected]> wrote:

> Hi,
>
> thanks for maintaining pgAdmin3.
>
> I tried to change a variable of a login role and was unable to edit the
> field.
> I could not delete characters of the existing definition or add characters.
> Copying the definition into the paste buffer was also impossible.
>
> Deleting the variable and creating a new definition worked.
>
> This is pgAdmin 1.22.0 downloaded and installed on Mac OS X 10.11.2
>
> The bug existed already in the previous version.
>
> Axel
> ---
> PGP-Key:29E99DD6  ☀ +49 160 9945 7889  ☀ computing @ chaos claudius
>
>
>
> --
> Sent via pgadmin-support mailing list ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support
>


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Attachments:

  [application/octet-stream] role.patch (375B, 3-role.patch)
  download | inline diff:
diff --git a/pgadmin/dlg/dlgRole.cpp b/pgadmin/dlg/dlgRole.cpp
index 00f6b83..69e7912 100644
--- a/pgadmin/dlg/dlgRole.cpp
+++ b/pgadmin/dlg/dlgRole.cpp
@@ -168,7 +168,7 @@ int dlgRole::Go(bool modal)
 	    wxT("SELECT rolname\n")
 	    wxT("  FROM pg_roles r\n");
 
-	varInfo.Add(wxT("role"));
+	varInfo.Add(wxT("string"));
 	cbVarname->Append(wxT("role"));
 
 	pgSet *set;


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [pgadmin-support] Unable to change variable of role on OS X 10.11
@ 2016-01-13 13:06  Neel Patel <[email protected]>
  parent: Neel Patel <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Neel Patel @ 2016-01-13 13:06 UTC (permalink / raw)
  To: Axel Rau <[email protected]>; +Cc: [email protected]; pgadmin-hackers

Hi,

Adding description how we fixed this issue.

- Previously Numeric validator is getting applied to text control so user
is not able to type text other then numeric value. Now with this fix ,
wxTextValidator() will be applied to text control so user will able to
enter the text.

Thanks,
Neel Patel

On Wed, Jan 13, 2016 at 6:31 PM, Neel Patel <[email protected]>
wrote:

> Hi,
>
> Please find the patch file for fix of above mentioned issue.
> Do let us know for any comments.
>
> Thanks,
> Neel Patel
>
> On Tue, Jan 12, 2016 at 11:22 PM, Axel Rau <[email protected]> wrote:
>
>> Hi,
>>
>> thanks for maintaining pgAdmin3.
>>
>> I tried to change a variable of a login role and was unable to edit the
>> field.
>> I could not delete characters of the existing definition or add
>> characters.
>> Copying the definition into the paste buffer was also impossible.
>>
>> Deleting the variable and creating a new definition worked.
>>
>> This is pgAdmin 1.22.0 downloaded and installed on Mac OS X 10.11.2
>>
>> The bug existed already in the previous version.
>>
>> Axel
>> ---
>> PGP-Key:29E99DD6  ☀ +49 160 9945 7889  ☀ computing @ chaos claudius
>>
>>
>>
>> --
>> Sent via pgadmin-support mailing list ([email protected])
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgadmin-support
>>
>
>


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-01-13 13:06 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-01-12 17:52 Unable to change variable of role on OS X 10.11 Axel Rau <[email protected]>
2016-01-13 13:01 ` Neel Patel <[email protected]>
2016-01-13 13:06   ` Neel Patel <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox