taiga-front icon indicating copy to clipboard operation
taiga-front copied to clipboard

[BUG] On new account, create project from "duplicate project" option hits a bug

Open Pablohn26 opened this issue 1 year ago • 0 comments

Describe the bug

When creating your account, you can create a project using "duplicate project" option. If you fill the information (except the project you want to duplicate from, that you cannot select it because you have just created your account), you get an error (referenceProject is undefined) when trying to create.

Error: this.referenceProject is undefined
e.prototype.submit@https://tree.taiga.io/v-1681797602842/js/app.js:1:693653
fn@https://tree.taiga.io/v-1681797602842/js/libs.js line 1 > Function:4:256
n@https://tree.taiga.io/v-1681797602842/js/libs.js:1:310743
e@https://tree.taiga.io/v-1681797602842/js/libs.js:1:351258
$eval@https://tree.taiga.io/v-1681797602842/js/libs.js:1:319935
$apply@https://tree.taiga.io/v-1681797602842/js/libs.js:1:320168
No[a]</compile/</<@https://tree.taiga.io/v-1681797602842/js/libs.js:1:351308
dispatch@https://tree.taiga.io/v-1681797602842/js/libs.js:1:39143
add/p.handle@https://tree.taiga.io/v-1681797602842/js/libs.js:1:37234
e@https://tree.taiga.io/v-1681797602842/js/libs.js:1:595278
value@https://tree.taiga.io/v-1681797602842/js/elements.js:1:96118
value@https://tree.taiga.io/v-1681797602842/js/elements.js:1:92079
value@https://tree.taiga.io/v-1681797602842/js/elements.js:1:97682
o@https://tree.taiga.io/v-1681797602842/js/elements.js:1:111942
v@https://tree.taiga.io/v-1681797602842/js/elements.js:1:112383
[angular.js:14195](https://tree.taiga.io/v-1681797602842/js/maps/angular.js)
    e Angular
    t app.js:10615
    Angular 2
        $apply
        compile
    jQuery 2
        dispatch
        handle
    e raven.js:444
    value elements.js:1
    value elements.js:1
    value elements.js:1
    o elements.js:1
    v elements.js:1

How can we reproduce the behavior

Create a new account and try to create a new project from duplicate project option.

Workarounds

Avoid that option (makes no sense to use it)

Screenshots

How to reproduce

Taiga environment

Taiga.io

Desktop (please complete the following information):

  • OS: Debian Linux
  • Browser: Firefox
  • Version: 102.7.0esr

Additional context

Makes no sense to select that option, but it is displayed so could be used and thus hitting the bug

Pablohn26 avatar Apr 19 '23 10:04 Pablohn26