Cvat: Bug: Unimplemented URL in `cvat/apps/auto_annotation/static/auto_annotation/js/dashboardPlugin.js`

Created on 31 May 2019  路  4Comments  路  Source: openvinotoolkit/cvat

Starting at Line 294 on Master branch,

        this.selectButton.on('click', () => {
            if (this.source === 'local') {
                this.localSelector.click();
            } else {
                this.shareSelector.appendTo('body');
                this.shareBrowseTree.jstree('refresh');
                this.shareSelector.removeClass('hidden');
                this.shareBrowseTree.jstree({
                    core: {
                        data: {
                            url: 'get_share_nodes',
                            data: node => ({ id: node.id }),
                        },
                    },
                    plugins: ['checkbox', 'sort'],
                });
            }
        });

The url: 'get_share_nodes' does not appear to be implemented in the code-base.

  • I built cvat locally on Mac OS, via docker-compose, and ran it.
  • When I open the model manager from the dashboard, and select "share" as the source, and click on "select files", the new modal loads forever.
    -- In the console, the network requests report a 404 for the url.
    image

I've tried looking through the issue tracker and also develop branch, to see if any commits addressed this.

  • So far, I have not found anything related to this issue.

Thus, I believe this is a bug since the URL does not appear to be implemented.

bug

Most helpful comment

@aleksandrmelnikov , thanks for the report. We forgot to update the code.

All 4 comments

I believe the following change is responsible: https://github.com/opencv/cvat/commit/ae6a4891e3fd874331dda661572aceb09a49fdb7#diff-5643c2e38f1fc10b1f32eaaf55dff80e

@aleksandrmelnikov , thanks for the report. We forgot to update the code.

Sure thing!

Closed through #468

Was this page helpful?
0 / 5 - 0 ratings

Related issues

syonekura picture syonekura  路  4Comments

rvorias picture rvorias  路  4Comments

oostap1 picture oostap1  路  3Comments

MahdiEsf picture MahdiEsf  路  3Comments

philippschw picture philippschw  路  5Comments