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

[Bug]: EgovBBSManageApiController.java pageIndex 처리 누락 발견 #70

Open
miniaro2 opened this issue Dec 20, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@miniaro2
Copy link

연락처 Contact

[email protected]

오류 내용 Error Description

오류를 발견했어요. I found an error.
EgovBBSManageApiController.java

public ResultVO selectBoardArticles(
@parameter(in = ParameterIn.QUERY, schema = @Schema(type = "object", additionalProperties = Schema.AdditionalPropertiesValue.TRUE, ref = "#/components/schemas/searchBbsMap"), style = ParameterStyle.FORM, explode = Explode.TRUE) @RequestParam Map<String, Object> commandMap,
@parameter(hidden = true) @AuthenticationPrincipal LoginVO user) throws Exception {
ResultVO resultVO = new ResultVO();
BoardVO boardVO = new BoardVO();

boardVO.setBbsId((String) commandMap.get("bbsId"));
**/* Paging 처리 누락분 */
int pageIndex = Integer.parseInt((String) commandMap.get("pageIndex"));
boardVO.setPageIndex(pageIndex);**
boardVO.setSearchCnd((String) commandMap.get("searchCnd"));
boardVO.setSearchWrd((String) commandMap.get("searchWrd"));

오류 재현 방법 How to reproduce the error

admin 로그인 후 공지사항 관리에 게시물을 11개 이상 작성하고 페이지를 이동하면, 페이지 이동이 되지 않음

환경정보 Environmental Information

vue.js

어느 브라우저를 사용했나요? Which browser did you use?

No response

에러 로그 Error Logs

에러 없이 페이지 이동이 안 됩니다.
@miniaro2 miniaro2 added the bug Something isn't working label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants