Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding project member fails #29

Open
breadlesscode opened this issue Nov 14, 2016 · 9 comments
Open

Adding project member fails #29

breadlesscode opened this issue Nov 14, 2016 · 9 comments

Comments

@breadlesscode
Copy link

Hi guys

I want to add a member to my OWN project but ribbbons show the following message:

Only the project owner can invite a user.

I have an account on ribbbon.com

@canvasowl
Copy link
Owner

Hey, I just re tested this on the love site and it works. Can you tell me more about your situation. Browser etc?

@breadlesscode
Copy link
Author

Browser: Version 53.0.2785.116 (64-bit)
OS: Linux (Ubuntu based Distr.)

yesterday I created an account on ribbbon.com and today my workmate created an account too.

The email of my workmate contain a dot. Can this be the problem?

Browserlog:

[Vue warn]: Error when evaluating expression "project.credentials.length > 0". Turn on debug mode to see stack trace.
vue.js:986 [Vue warn]: Error when evaluating expression "function (){
            var tasks = this.project.tasks;
            var finalNum = 0;

            for (var i = 0; i < tasks.length; i++){
                if( tasks[i].state == "complete" ){
                    finalNum++;
                }
            }

            return finalNum;
        }". Turn on debug mode to see stack trace.
vue.js:986 [Vue warn]: Error when evaluating expression "250 - newTask.description.length". Turn on debug mode to see stack trace.
vue.js:986 [Vue warn]: Error when evaluating expression "function (){
            var tasks = this.project.tasks;
            var finalNum = 0;

            for (var i = 0; i < tasks.length; i++){
                if( tasks[i].state != "backlog" ){
                    finalNum++;
                }
            }

            return finalNum;
        }". Turn on debug mode to see stack trace.
vue.js:986 [Vue warn]: Error when evaluating expression "function (){
            var tasks = this.project.tasks;
            var finalNum = 0;

            for (var i = 0; i < tasks.length; i++){
                if( tasks[i].state == "backlog" ){
                    finalNum++;
                }
            }

            return finalNum;
        }". Turn on debug mode to see stack trace.
vue.js:986 [Vue warn]: Error when evaluating expression "function (){
            return this.project.credentials.length;
        }". Turn on debug mode to see stack trace.
vue.js:986 [Vue warn]: Error when evaluating expression "function (){
            var tasks = this.project.tasks;
            var finalNum = 0;

            for (var i = 0; i < tasks.length; i++){
                if( tasks[i].state == "progress" ){
                    finalNum++;
                }
            }

            return finalNum;
        }". Turn on debug mode to see stack trace.
vue.js:986 [Vue warn]: Error when evaluating expression "250 - project.description.length". Turn on debug mode to see stack trace.
vue.js:986 [Vue warn]: Error when evaluating expression "function (){
            var tasks = this.project.tasks;
            var remainingWeight = 0;

            for (var i = 0; i < tasks.length; i++){
                if( tasks[i].state != "complete" ){
                    remainingWeight = remainingWeight + Number(tasks[i].weight);
                }
            }

            return remainingWeight;
        }". Turn on debug mode to see stack trace.
vue.js:986 [Vue warn]: Error when evaluating expression "function (){
            var tasks = this.project.tasks;
            var finalNum = 0;

            for (var i = 0; i < tasks.length; i++){
                if( tasks[i].state == "testing" ){
                    finalNum++;
                }
            }

            return finalNum;
        }". Turn on debug mode to see stack trace.
vue.js:986 [Vue warn]: Error when evaluating expression "250 - currentTask.description.length". Turn on debug mode to see stack trace.
vue.js:986 [Vue warn]: style="width:{{ projectProgress }}%": interpolation in "style" attribute will cause the attribute to be discarded in Internet Explorer. Use v-bind:style instead.
vue.js:986 [Vue warn]: Error when evaluating expression "function (){
            var tasks = this.project.tasks;
            var totalWeight = 0;
            var completedWeight = 0;

            for (var i = 0; i < tasks.length; i++){
                totalWeight = totalWeight + Number(tasks[i].weight);

                if( tasks[i].state == "complete" ){
                    completedWeight = completedWeight + Number(tasks[i].weight);
                }
            }
            return  (completedWeight / totalWeight) * 100;
        }". Turn on debug mode to see stack trace.
project.js:354 [__ob__: Observer]
jquery.js:8630 POST http://ribbbon.com/api/projects/848/[email protected]/invite 406 (Not Acceptable)

@breadlesscode
Copy link
Author

is that bug confirmed?

@canvasowl
Copy link
Owner

This is a bug, though it seems to be browser specific at the moment.

@breadlesscode
Copy link
Author

In my firefox I cant click on members. The whole page is reloading. Same errors in console

@breadlesscode
Copy link
Author

Chrome Windows same behavior as Chrome Ubuntu.

@harikrishnanr994
Copy link

harikrishnanr994 commented Feb 13, 2017

This is solution to the bug. It is happening because of the seeding process. Just remove the database and migrate again . Then do not "seed process". Now the add member will work.

@breadlesscode
Copy link
Author

Thank you, but I used ribbbon.com ;) @canvasowl can you fix this issue?

@canvasowl
Copy link
Owner

I will look into a workaround for the live site. Sorry for this guy's. Thanks for using Ribbbon!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants