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

CREATE USER ... TAGS ( attr = 'prefix #suffix' ): "suffix" will be removed from storage because of character '#' in the value of attribute [CORE4767] #5067

Closed
firebird-automations opened this issue Apr 21, 2015 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @pavel-zotov

Test:
#⁠#⁠#⁠#⁠

drop user usr_01;
commit;

create user usr_01 password '123' tags (
attr00001='attr #⁠00001' ----------- note that after character '#⁠' some extra text present in the value of tag
);
commit;

set width sec_plg 7;
select
cast(u.sec$user_name as char(10)) login,
cast(a.sec$key as char(20)) tag,
cast(a.sec$value as char(25)) val,
sec$plugin sec_plg
from sec$users u
left join sec$user_attributes a on u.sec$user_name = a.sec$user_name
where u.sec$user_name = upper('usr_01');

STDOUT:
#⁠#⁠#⁠#⁠#⁠#⁠#⁠

LOGIN TAG VAL SEC_PLG
========== ==================== ========================= =======
USR_01 ATTR00001 attr Srp

PS. WI-T3.0.0.31801

Commits: a56062a FirebirdSQL/fbt-repository@f23e84f

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 Beta 2 [ 10586 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: Deferred

Test Details: List of plugins in "UserManager" config parameter has to contain `Srp` element.
// TODO //

Test Specifics: [Custom configuration required]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: Deferred => Done successfully

Test Details: List of plugins in "UserManager" config parameter has to contain `Srp` element.
// TODO //

=>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants