Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68241

After upgrading to the latest version of jenkins, the prompt "No type prefix: XXX" appears.

    XMLWordPrintable

Details

    Description

      After upgrading to the latest version of jenkins, the prompt "No type prefix: XXX" appears.

      Attachments

        Issue Links

          Activity

            alexanderstohr Alexander Stohr added a comment - - edited

            that far that i know the icon topic has a fix.
            that far that i know the "type prefix" topic has no fix.

            i got told that Oleg is currently not in state for doing anything for Jenkins topics - with an open date when he might be able to return.
            there is the word that role-strategy plugin got adopted - but as of now i don't know who is the new adopter. web page provided data does not yet indicate such a change.

            the subject here is only happening in combination with matrix-auth plugin 3.x - using latest 2.x versions will eliminate it.
            current role-strategy plugin is only offering full support when used with matrix-auth 2.x - the GUI results shown in the above screenshots will be possible in a similar with present latest plugin versions.
            the solution is supposed to need some changes to the role-strategy plugin. (i am not familiar with the internals and its real root cause since i have not dived into these plugin myself.)

            alexanderstohr Alexander Stohr added a comment - - edited that far that i know the icon topic has a fix. that far that i know the "type prefix" topic has no fix. i got told that Oleg is currently not in state for doing anything for Jenkins topics - with an open date when he might be able to return. there is the word that role-strategy plugin got adopted - but as of now i don't know who is the new adopter. web page provided data does not yet indicate such a change. the subject here is only happening in combination with matrix-auth plugin 3.x - using latest 2.x versions will eliminate it. current role-strategy plugin is only offering full support when used with matrix-auth 2.x - the GUI results shown in the above screenshots will be possible in a similar with present latest plugin versions. the solution is supposed to need some changes to the role-strategy plugin. (i am not familiar with the internals and its real root cause since i have not dived into these plugin myself.)
            mawinter69 Markus Winter added a comment -

            Looking at the code this is only a UI problem and should not have any impact on functionality of the plugin.

            The only thing rolestategy uses from matrix auth plugin is the function doCheckName from the descriptor of GlobalMatrixAuthorizationStrategy.

            So I copied the code from version 2.6.11 of matrix-auth to rolestrategy and the issue is gone and everything still compiles and works as before.

             

            mawinter69 Markus Winter added a comment - Looking at the code this is only a UI problem and should not have any impact on functionality of the plugin. The only thing rolestategy uses from matrix auth plugin is the function doCheckName from the descriptor of GlobalMatrixAuthorizationStrategy. So I copied the code from version 2.6.11 of matrix-auth to rolestrategy and the issue is gone and everything still compiles and works as before.  

            People

              oleg_nenashev Oleg Nenashev
              quguoliang2021 曲 国良
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: