Extension engine bug: app.project.importFiles doesn't work as supposed to in Beta

0 Votes
New Here ,
Apr 06, 2022 Apr 06, 2022

Copy link to clipboard

Copied

Hello, 

 

1. Version of tha app: Premiere Pro 22.4.0.30 (probably it started happening in a few previous builds too)

2. Tested on Mac mini (M1, 2020). OS version 12.2.1 (Monterey)

3. We've encountered a bug that might break a lot of extensions when using "app.project.importFiles" api call. I am attaching a video, sample projects and a script example. Calling this API to import a .prproj results in error. 

 

The gist of the call is:

var path = '/Users/USERNAME/folder/toImport.prproj';

if (path){
    app.project.importFiles(
        [path],
        true, // suppressUI
        app.project.rootItem,
        false // importAsStills
    );
}

 

The root issue seems to be the "suppressUI" parameter which defaulted to "import everything" before.

 

Thank you for looking into this :-).

 

Bug Unresolved

Views

100

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Apr 18, 2022 Apr 18, 2022

Annoying! 

We're tracking this as DVAPR-4237770, "app.project.importFiles() FAILS for .prproj files, in 22.4; works fine in 22.3". 


Votes

Translate

Translate
2 Comments
Adobe Employee ,
Apr 18, 2022 Apr 18, 2022

Copy link to clipboard

Copied

Annoying! 

We're tracking this as DVAPR-4237770, "app.project.importFiles() FAILS for .prproj files, in 22.4; works fine in 22.3". 


Votes

Translate

Translate

Report

Report
Adobe Employee ,
Apr 18, 2022 Apr 18, 2022

Copy link to clipboard

Copied

LATEST

Thanks for reporting this, Alexander! 

 

I've put you in touch with our API wizard and hope to have some good news on a fix soon. 

 

Thanks,

Dacia

Votes

Translate

Translate

Report

Report
Resources