You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "ucoypu (via GitHub)" <gi...@apache.org> on 2024/04/03 02:05:29 UTC

[I] [Bug] [process-instances] dolphinscheduler3.2.1 workflow instance query , resulted in a null return value for totalPage, which prevented pagination and only allowed querying of the first page [dolphinscheduler]

ucoypu opened a new issue, #15797:
URL: https://github.com/apache/dolphinscheduler/issues/15797

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   工作流实例没有分页,只能查询当前页,无法选择下一页
   ![1712109328069](https://github.com/apache/dolphinscheduler/assets/69502888/0506f8ee-7d90-40df-8409-37e5f13a7ad7)
   ![1712109369081](https://github.com/apache/dolphinscheduler/assets/69502888/1e4c9833-a8db-4182-9e11-30c4f3711b68)
   
   
   
   ### What you expected to happen
   
   ![1712109328069](https://github.com/apache/dolphinscheduler/assets/69502888/0506f8ee-7d90-40df-8409-37e5f13a7ad7)
   ![1712109369081](https://github.com/apache/dolphinscheduler/assets/69502888/1e4c9833-a8db-4182-9e11-30c4f3711b68)
   
   ### How to reproduce
   
   
   
   ![1712109328069](https://github.com/apache/dolphinscheduler/assets/69502888/0506f8ee-7d90-40df-8409-37e5f13a7ad7)
   ![1712109369081](https://github.com/apache/dolphinscheduler/assets/69502888/1e4c9833-a8db-4182-9e11-30c4f3711b68)
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [process-instances] dolphinscheduler3.2.1 workflow instance query , resulted in a null return value for totalPage, which prevented pagination and only allowed querying of the first page [dolphinscheduler]

Posted by "eyesmoons (via GitHub)" <gi...@apache.org>.
eyesmoons commented on issue #15797:
URL: https://github.com/apache/dolphinscheduler/issues/15797#issuecomment-2060168440

   The PageInfo class is missing getter methods. Adding a getTotalPage method should suffice. You can refer to the previous version for guidance. just like this:
   ```java
   public Integer getTotalPage() {
           if (pageSize == null || pageSize == 0) {
               pageSize = 7;
           }
           if (this.total % this.pageSize == 0) {
               return (this.total / this.pageSize) == 0 ? 1 : (this.total / this.pageSize);
           }
           return (this.total / this.pageSize + 1);
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [process-instances] dolphinscheduler3.2.1 workflow instance query , resulted in a null return value for totalPage, which prevented pagination and only allowed querying of the first page [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #15797:
URL: https://github.com/apache/dolphinscheduler/issues/15797#issuecomment-2033404499

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   The workflow instance does not have paging. It can only query the current page and cannot select the next page.
   ![1712109328069](https://github.com/apache/dolphinscheduler/assets/69502888/0506f8ee-7d90-40df-8409-37e5f13a7ad7)
   ![1712109369081](https://github.com/apache/dolphinscheduler/assets/69502888/1e4c9833-a8db-4182-9e11-30c4f3711b68)
   
   
   
   ### What you expected to happen
   
   ![1712109328069](https://github.com/apache/dolphinscheduler/assets/69502888/0506f8ee-7d90-40df-8409-37e5f13a7ad7)
   ![1712109369081](https://github.com/apache/dolphinscheduler/assets/69502888/1e4c9833-a8db-4182-9e11-30c4f3711b68)
   
   ### How to reproduce
   
   
   
   ![1712109328069](https://github.com/apache/dolphinscheduler/assets/69502888/0506f8ee-7d90-40df-8409-37e5f13a7ad7)
   ![1712109369081](https://github.com/apache/dolphinscheduler/assets/69502888/1e4c9833-a8db-4182-9e11-30c4f3711b68)
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [process-instances] dolphinscheduler3.2.1 workflow instance query , resulted in a null return value for totalPage, which prevented pagination and only allowed querying of the first page [dolphinscheduler]

Posted by "Wdtu (via GitHub)" <gi...@apache.org>.
Wdtu commented on issue #15797:
URL: https://github.com/apache/dolphinscheduler/issues/15797#issuecomment-2051222422

   同遇到这个问题


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [process-instances] dolphinscheduler3.2.1 workflow instance query , resulted in a null return value for totalPage, which prevented pagination and only allowed querying of the first page [dolphinscheduler]

Posted by "viosay (via GitHub)" <gi...@apache.org>.
viosay commented on issue #15797:
URL: https://github.com/apache/dolphinscheduler/issues/15797#issuecomment-2048794813

   同样问题,为什么关闭了呢


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [process-instances] dolphinscheduler3.2.1 workflow instance query , resulted in a null return value for totalPage, which prevented pagination and only allowed querying of the first page [dolphinscheduler]

Posted by "ucoypu (via GitHub)" <gi...@apache.org>.
ucoypu closed issue #15797: [Bug] [process-instances] dolphinscheduler3.2.1 workflow instance query , resulted in a null return value for totalPage, which prevented pagination and only allowed querying of the first page
URL: https://github.com/apache/dolphinscheduler/issues/15797


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org