iceScrum | iceScrum

iceScrum Foros Discutir de iceScrum

Respuestas de foro creadas

Viendo 3 entradas - de la 1 a la 3 (de un total de 3)

  • Autor
    Entradas
  • en respuesta a: Copy Story from project to project #117765

    fraaalesi
    Participante

    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 ?

    en respuesta a: Copy Story from project to project #117760

    fraaalesi
    Participante

    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

    en respuesta a: How to make (& automate) sprint plan screenshots ? #40059

    fraaalesi
    Participante

    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");
Viendo 3 entradas - de la 1 a la 3 (de un total de 3)