I've re-opened JENKINS-36907 <https://issues.jenkins-ci.org/browse/JENKINS-36907> and submitted a pull request <https://github.com/jenkinsci/blueocean-plugin/pull/634> that should fix this regardless of any errors in the translation. If all goes well it should be in next weeks Blue Ocean beta.
On Wednesday, November 30, 2016 at 4:09:33 AM UTC+11, Baptiste Mathus wrote: > > This issue was fixed in 2.16 cf. > https://github.com/jenkinsci/jenkins/commit/3956994c286941dab2da810c649269d637dc98d9 > > So, if you're seeing something close or similar, please file an issue and > use the users ML instead. > > > 2016-11-29 13:38 GMT+01:00 <[email protected] <javascript:>>: > >> I'm using Jenkins 2.19.4 and still has this issue while on Spanish >> language. >> >> When will this issue be fixed? >> >> >> El lunes, 25 de julio de 2016, 8:45:18 (UTC+2), Ivan Meredith escribió: >> >>> Hi there, >>> >>> It is because your Jenkins instance is in spanish!. >>> >>> There is this bit of code >>> https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-rest-impl/src/main/java/io/jenkins/blueocean/service/embedded/rest/OrganizationImpl.java#L40 >>> >>> And a quick grep >>> >>> ivan@MacBook-Pro ~/w/jenkins/core/src/main/resources/jenkins/model >>> (master)$ grep -R -E 'Hudson.DisplayName=.* $' . >>> ./Messages_es.properties:Hudson.DisplayName=Jenkins >>> >>> I created PR https://github.com/jenkinsci/jenkins/pull/2471 to fix it >>> in Jenkins, >>> >>> and also JENKINS-36907 >>> <https://issues.jenkins-ci.org/browse/JENKINS-36907> to track it in >>> Blue Ocean. >>> >>> Switching your language should fix this.I imagine this will be changed >>> in Blue Ocean quickly too. >>> >>> On Thursday, July 21, 2016 at 8:31:43 PM UTC+12, Javier Martín Caro >>> BEEVA wrote: >>>> >>>> Hi there! >>>> >>>> We have set up jenkins blue ocean behind a nginx reverse proxy and >>>> configured successfully the prefix in the url to <URL>/jenkins. Despite of >>>> this, when we access to the blue ocean ui in <URL>/jenkins/blue and try to >>>> access some pipeline, a 422 (unprocessable entity error) is displayed in >>>> the browser debugging console and a white screen is shown. >>>> >>>> The URL in the browser is like the following (note the encoded space): >>>> >>>> https://<URL>/jenkins/blue/organizations/*jenkins%20* >>>> /<pipeline>/activity >>>> >>>> >>>> >>>> When we call the blue ocean API for organizations the following >>>> information is shown (https://<URL>/jenkins/blue/rest/organizations/): >>>> >>>> >>>> [{"_class":"io.jenkins.blueocean.service.embedded.rest.OrganizationImpl","_links":{"pipelines":{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins >>>> >>>> /pipelines/"},"self":{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins >>>> >>>> /"},"user":{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins >>>> >>>> /user/"},"users":{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins >>>> /users/"}},"name":"jenkins "}] >>>> >>>> >>>> Note the white space in the organizations href after /jenkins /pipelines. >>>> >>>> >>>> If we call to >>>> https://<URL>/jenkins/blue/rest/organizations/jenkins/pipelines/<pipeline>/runs/ >>>> the following message is shown: >>>> >>>> >>>> { >>>> >>>> "message" : "Organization jenkins not found", >>>> >>>> "code" : 422, >>>> >>>> "errors" : [ ] >>>> >>>> } >>>> >>>> >>>> But if we force the organization to be jenkins%20 >>>> (https://<URL>/jenkins/blue/rest/organizations/jenkins%20/pipelines/<pipeline>/runs/) >>>> the information is displayed correctly. >>>> >>>> >>>> Can someone help us to configure the proper name for the organization? We >>>> thought it was the jenkins url in the settings page but this is set to >>>> https://<URL>/jenkins/. >>>> >>>> >>>> Old UI is working properly for all pipelines, folder organizations and >>>> bitbucket team jobs. >>>> >>>> >>>> Thank you and regards! >>>> >>>> >>>> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/b7a849ac-b33c-4725-8c78-c7f205eb653c%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-dev/b7a849ac-b33c-4725-8c78-c7f205eb653c%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/77f90507-1ace-417c-854a-3efe6224e049%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
