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

Apex Collection empty #80

Open
stephan0h opened this issue Jan 23, 2021 · 1 comment
Open

Apex Collection empty #80

stephan0h opened this issue Jan 23, 2021 · 1 comment

Comments

@stephan0h
Copy link

stephan0h commented Jan 23, 2021

Expected behavior

SELECT c001    AS filename,
       c002    AS mime_type,
       d001    AS date_created,
       n001    AS file_id,
       dbms_lob.getlength(blob001) AS file_size
  FROM apex_collections
 WHERE collection_name = 'DROPZONE_UPLOAD';

Select yields a record per uploaded file

Actual behavior

It seems the collection is always empty.

Steps to reproduce the issue

Pretty much default settings.
Query is called in event "dropzone upload completed":TRUE

Edit: it works, if "Upload Mechanism" is set to "chunked". It does not work if "Upload Mechanism" is set to "normal".

APEX version (4.2.6 / 5.0.3)

5.1.4.00.08

Used web server / version and platform (ORDS 3.0.3 / Tomcat 7 / Apache 2.4 / Linux x64)

Used web browser / version and platform (Chrome 48 Mac / Firefox 44 Windows)

firefox

@stephan0h
Copy link
Author

stephan0h commented Jan 27, 2021

Ok, debugged this a bit:
If "Upload Mechanism" is set to "normal" it does not even step into ajax_dropzone() - for whatever reason. So I gather files are just not uploaded if set to "normal" ...

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

1 participant