iceScrum | iceScrum

iceScrum Forums Discuss on iceScrum

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)

  • Author
    Posts
  • in reply to: Copy Story from project to project #117765

    fraaalesi
    Participant

    Je 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 ?

    in reply to: Copy Story from project to project #117760

    fraaalesi
    Participant

    Bonjour,

    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-project

    Par 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

    in reply to: How to make (& automate) sprint plan screenshots ? #40059

    fraaalesi
    Participant

    Hi, 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");
Viewing 3 posts - 1 through 3 (of 3 total)