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

fix #2290 관리자가 회원 메모를 삭제할수 없는 문제 수정 #2292

Merged
1 commit merged into from
Aug 31, 2018

Conversation

YJSoft
Copy link
Contributor

@YJSoft YJSoft commented Aug 29, 2018

관리자가 회원 메모를 비우면 NULL이 넘어가서 메모가 변경되지 않는 문제점을 수정합니다.

if(!$args->description) $args->description = $orgMemberInfo->description;

// BUGFIX 관리자가 회원 메모를 삭제할수 없는 문제 수정 https://github.com/xpressengine/xe-core/issues/2290
if(!isset($args->description)) $args->description = $orgMemberInfo->description;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

결국은 기존 내용을 그대로 비슷하게 검사하는 것으로 보여집니다.

그냥 isset으로 내용이 설정이 안되어있다면 내용을 null으로 만들어서 빈값으로 들어가도록 하는것은 어떤가요?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bjrambo XML 쿼리에서는 null을 넣으면 아예 해당컬럼을 UPDATE문에서 빼버리지 않나요?

Copy link
Contributor

@bjrambo bjrambo Aug 29, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kijin 아.. 그렇네요.. 시리얼라이즈 스트링으로 만든 값을 저장하는 방식이랑 착각 했습니다.. 어찌되었던 빈 스트링값이라도 넘겨야할것 같아요.

@ghost ghost self-assigned this Aug 30, 2018
@ghost ghost added the type/bug label Aug 30, 2018
@ghost ghost added this to the 1.9-next milestone Aug 30, 2018
@YJSoft YJSoft changed the title fix #2290 관리자가 회원 메모를 삭제할수 없는 문제 수정 [WIP] fix #2290 관리자가 회원 메모를 삭제할수 없는 문제 수정 Aug 30, 2018
관리자 화면에서 회원 메모를 비우면 NULL이 넘어와 기존값이 사용되는 문제점 고침
@YJSoft YJSoft changed the title [WIP] fix #2290 관리자가 회원 메모를 삭제할수 없는 문제 수정 fix #2290 관리자가 회원 메모를 삭제할수 없는 문제 수정 Aug 30, 2018
@ghost ghost added this to 해결 예정 in 이슈 진행 상황 Aug 30, 2018
@ghost ghost moved this from 해결 예정 to 해결 중 in 이슈 진행 상황 Aug 31, 2018
@ghost ghost merged commit 1c0ca4d into xpressengine:develop Aug 31, 2018
이슈 진행 상황 automation moved this from 해결 중 to 이슈 종료 Aug 31, 2018
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants