Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 22/Jul/13 4:33 PM
Description:

When installing SCM-Sync-Configuration plugin v0.0.7.2 on 1.523, it seems like this line of code :

var plugin = <st:bind value="${it}"/>;

is sometimes (depending on Jenkins installations) generating a strange output in the HTML :

var plugin = <script src='' type='text/_javascript_'></script>makeStaplerProxy('/jenkins/$stapler/bound/47f87312-880f-40fc-9a12-0a75149deedc','xxxxxxxxxxxxxxxxxx',['purgeScmSyncConfigLogs']);

Whereas in 1.509.2, I have this generated output :

var plugin = makeStaplerProxy('/$stapler/bound/<some-token>','<another token>',['purgeScmSyncConfigLogs']);

I personnally don't reproduce it on a fresh 1.523 install, but Björn Pedersen is reproducing it on its instance.

Is there something bad :

  • In my code (I shouldn't affect the call to <st:bind> to a js variable because it could potentially has to include necessary third party js files like json2.js)
    => if this is the case, is there a workaround to proxify my plugin instance on the JS clientside world ? (other than having to do stuff by hand by sending manual Ajax calls to the server side)
  • In Björn Pedersen's installation, or Jenkins core ?
Environment: Jenkins 1.523
Project: Jenkins
Priority: Major Major
Reporter: Frédéric Camblor
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to