iceScrum Forums Discuss on iceScrum
Forum Replies Created
-
AuthorPosts
-
fraaalesiParticipantJe viens de regarder les logs de ma version limité à 14j et en fait, lorsque j’essaie de faire une copy de story j’obtiens ca:
2017-11-14 15:27:32,575 [http-nio-192.168.254.10-8080-exec-3] ERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/icescrum].[default] – Servlet.service() for servlet [default] in context with path [/icescrum] threw exception
java.lang.IllegalArgumentException: Secure object invocation FilterInvocation: URL: /p/MY-PROJECT-NAME/story.copy.to.project.html was denied as public invocations are not allowed via this interceptor. This indicates a configuration error because the rejectPublicInvocations property is set to ‘true’
at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)
at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)
at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)Donc la fonctionnalité semble là, c’est juste qu’elle plante non ?
fraaalesiParticipantBonjour,
je suis intéressé par cette fonctionnalité. Il semble qu’elle existait en V6:
– https://www.icescrum.com/forums/topic/deplacer-une-story-dans-un-autre-projet/
– https://www.icescrum.com/documentation/extra-features/#copy-to-another-projectPar contre je viens de telecharger la V7 et j’obtiens une “unknown error” sur clic de “copy” pour une story. La fonction n’est pas encore implémentée ? C’est de ça dont vous parlez ?
Francois
fraaalesiParticipantHi, I managed easily to make a screenshot with PhantomJS (headless Chrome browser). Here is the script if anybody has a use for it:
page.settings.userAgent = "Mozilla/5.0 (Windows NT x.y; rv:10.0) Gecko/20100101 Firefox/49.0"; function doLogin(){ page.evaluate(function(){ var frm = document.getElementById("loginForm"); frm.elements["username"].value = "myLogin"; frm.elements["password"].value = "XXXXXX"; frm.submit(); }); } function screenshot(){ page.viewportSize = { width: 1600, height: 6000 }; page.open('http://192.168.38.123:8080/icescrum/p/SPHERE#sprintPlan', function() { window.setTimeout(function () { page.render('icescrum.png'); phantom.exit(); }, 2000); // wait 2s for javascript do update the graphic boxes }); } page.onLoadFinished = function(status){ console.log( (!phantom.state ? "no-state" : phantom.state) + ": " + status ); if(status === "success"){ if( !phantom.state ){ doLogin(); phantom.state = "logged-in"; } else if(phantom.state === "logged-in"){ screenshot(); phantom.state = "screenshot"; } else { //console.log("ERROR: unhandled state... "); } } }; page.onConsoleMessage = function (message){ console.log("msg: " + message); }; page.open("http://192.168.0.1/icescrum/login");
-
AuthorPosts