Ticket #479 (new enhancement)

Opened 2 years ago

Last modified 19 months ago

File upload does not support array submit

Reported by: robert Owned by:
Priority: major Milestone: MediaMosa 3.1/3.5
Component: Core Version:
Keywords: Cc:
MoSCoW: Should Have Estimated time after impact analysis:
Related to project: none Tested: no
Accepted: no Estimated Hours: 0

Description

The MediaMosa upload handler does not support $_FILES array with extra dimensions. Current version will only accept $_FILES array with single 'file' dimension;

$_FILES = 
Array
(
    [name] => test_video.wmv
    [type] => video/x-ms-wmv
    [tmp_name] => /var/tmp/phpIi9UNP
    [error] => 0
    [size] => 993480
)

Does not support;

$_FILES = 
Array
(
  [name] => Array (
    [file] => test.mov
  )

  [type] => Array (
    [file] => video/quicktime
  )

  [tmp_name] => Array (
    [file] => /var/tmp/phpz6H4pE
  )

  [error] => Array (
    [file] => 0
  )

  [size] => Array (
    [file] => 81252666
  )
)

Drupal 7 default file form creates a upload form like the last version. Although fixable on the Drupal 7 side, we should make the upload handler on the MediaMosa side more intelligent.

Change History

Changed 2 years ago by Frans

  • milestone changed from MediaMosa X.X to MediaMosa 3.0

Changed 19 months ago by Frans

  • milestone changed from MediaMosa 3.0 to MediaMosa 3.5
Note: See TracTickets for help on using tickets.