You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/01/31 14:55:47 UTC

[GitHub] [incubator-dolphinscheduler] Squidyu opened a new issue #4640: [Bug][dolphinscheduler-ui] project name can`t contain "http"

Squidyu opened a new issue #4640:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4640


   **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
   **Describe the bug**
   Create a new project the name contain "http",If you enter the project process list, an Error 404 will be reported,and the interface of the new process will also report an Error 404, and the URL path of the front-end splicing is not correct
   
   创建一个名称包含为“http”的新项目。如果进入项目进程列表,会报告404错误,新建流程的接口也会报告404错误,前端拼接的URL路径不正确
   **Which version of Dolphin Scheduler:**
    -[all-version]
   
   **Additional context**
   The following code may be the cause of the problem:
   ```
   const resolveURL = (url) => {
     if (url.indexOf('http') !== -1) {
       return url
     }
     if (url.charAt(0) !== '/') {
       return `${apiPrefix}/${url.replace(reSlashPrefix, '')}`
     }
   
     return url
   }
   ```
   
   


----------------------------------------------------------------
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.

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



[GitHub] [incubator-dolphinscheduler] chengshiwen commented on issue #4640: [Bug][dolphinscheduler-ui] project name can`t contain "http"

Posted by GitBox <gi...@apache.org>.
chengshiwen commented on issue #4640:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4640#issuecomment-772448340


   @CalvinKirs Maybe this issue can be added into `1.3.5-release`


----------------------------------------------------------------
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.

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



[GitHub] [incubator-dolphinscheduler] CalvinKirs commented on issue #4640: [Bug][dolphinscheduler-ui] project name can`t contain "http"

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on issue #4640:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4640#issuecomment-772475365


   > @chenxingchun @CalvinKirs Maybe this issue can be added into `1.3.5-release`
   
   I noticed that this is not a big problem, so if this PR can be completed before the release, it can be released to 1.3.5, otherwise it will be the next version.


----------------------------------------------------------------
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.

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



[GitHub] [incubator-dolphinscheduler] CalvinKirs closed issue #4640: [Bug][dolphinscheduler-ui] project name can`t contain "http"

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #4640:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4640


   


----------------------------------------------------------------
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.

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



[GitHub] [incubator-dolphinscheduler] CalvinKirs closed issue #4640: [Bug][dolphinscheduler-ui] project name can`t contain "http"

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #4640:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4640


   


----------------------------------------------------------------
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.

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



[GitHub] [incubator-dolphinscheduler] chengshiwen edited a comment on issue #4640: [Bug][dolphinscheduler-ui] project name can`t contain "http"

Posted by GitBox <gi...@apache.org>.
chengshiwen edited a comment on issue #4640:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4640#issuecomment-772448340


   @chenxingchun  @CalvinKirs Maybe this issue can be added into `1.3.5-release`


----------------------------------------------------------------
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.

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



[GitHub] [incubator-dolphinscheduler] Ylisen commented on issue #4640: [Bug][dolphinscheduler-ui] project name can`t contain "http"

Posted by GitBox <gi...@apache.org>.
Ylisen commented on issue #4640:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4640#issuecomment-772401678


   I've fixed it, and I've submitted PR, please check 
   
   [Bug-4640][dolphinscheduler-ui] Fixed a 404 error when the project name contains "http" #4672
   


----------------------------------------------------------------
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.

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



[GitHub] [incubator-dolphinscheduler] xingchun-chen commented on issue #4640: [Bug][dolphinscheduler-ui] project name can`t contain "http"

Posted by GitBox <gi...@apache.org>.
xingchun-chen commented on issue #4640:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4640#issuecomment-770696929


   who can fix it?


----------------------------------------------------------------
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.

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