-
Bug
-
Resolution: Done
-
Highest
-
Beijing Release
After a VSP has been onboarded and a VF created it has to be summited for test and then the tester has to accept it. currectly when the tester accepts it on the GUI the UI hangs and does nothing.
The problem seems to be in the code
where there is the code
...
[ 104|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l104] let onOk = (confirmationText):void => {
[ 105|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l105] comment.userRemarks = confirmationText;
[ 106|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l106] scope.isLoading = true;
[ 107|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l107]
[ 108|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l108] if (data.url === "lifecycleState/CHECKIN") {
[ 109|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l109] this.eventBusService.notify("CHECK_IN").subscribe(() => {
[ 110|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l110] component.changeLifecycleState(data.url, comment).then(onSuccess, onError);
[ 111|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l111] });
[ 112|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l112] }
[ 113|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l113] };
...
This looks like the only "action" supported is CHECKIN. During debugging the requested action was seen to be CERTIFY which seems correct in the circumstances.
This code was changed in the recent change for https://jira.onap.org/browse/SDC-1178 and that seems to have introduced this bug
was isolated to the com