PR 229 only seemed to change the jelly - the persisted data (if no one
saved it) is still looking like it is using the old projectId so existing
things should still work, but newly saved configuration would likely not
persist correctly.

Change the Jelly option back to projectId and also change the parameter in
the doCheck method and then I think things should start working again.



On Mon, 11 Oct 2021 at 15:51, Goyot, Martin <[email protected]>
wrote:

> Hi there,
>
> We made a mistake while implementing our plugin and operated a change on
> what seems to be a serializable class. Here is the class (
> https://github.com/jenkinsci/tuleap-git-branch-source-plugin/blob/master/src/main/java/org/jenkinsci/plugins/tuleap_git_branch_source/TuleapSCMNavigator.java)
> and here are the incriminated changes (
> https://github.com/jenkinsci/tuleap-git-branch-source-plugin/pull/229/files)
> and (
> https://github.com/jenkinsci/tuleap-git-branch-source-plugin/pull/234/files)
> where the class attribute `projectId` was renamed to `tuleapProjectId` for
> TuleapSCMNavigator.
>
> How can we solve this ? Because now the issue is that every job previously
> created can't be opened with the new version of the plugin because of this
> attribute renaming. Is there a way in Jenkins to deal with such updates of
> classes ? I imagine that this is something that can happen quite often when
> adding new features, because if we add a new attribute we might end up with
> the same problem.
>
> Sorry if I missed anything in the documentation and thanks in advance,
>
> Martin
>
>
> --
> 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/CA%2Bb6JB-2S883fgAZTrKxrooGrwXWGRBEOj2jqLHHBe1G41zLvQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CA%2Bb6JB-2S883fgAZTrKxrooGrwXWGRBEOj2jqLHHBe1G41zLvQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPzq3pdzjUhKp5HX72s9fiTKhcCk6PY7aZLfOB02qp%2BCZhnN7Q%40mail.gmail.com.

Reply via email to