Ticket #294 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

upload with Still generation 'NORMAL' does not work

Reported by: MC-arjen Owned by: arjen
Priority: major Milestone: MediaMosa 2.1
Component: Core Version: 2.1.3
Keywords: Cc:
MoSCoW: none Estimated time after impact analysis:
Related to project: none Tested: yes
Accepted: yes Estimated Hours:

Description

<header>
<item_count>0</item_count>
<item_count_total>0</item_count_total>
<item_offset>0</item_offset>
<request_class>mediamosa_rest_call_asset_mediafile_upload</request_class>
<request_matched_method>POST</request_matched_method>
<request_matched_uri>/mediafile/upload</request_matched_uri>
<request_process_time>0.0313</request_process_time>
<request_result>error</request_result>

<request_result_description>
The value of still_type (STRING) is not allowed, allowed values are 'NONE', 'PICTURE', 'SCENE', 'SECOND'.
</request_result_description>
<request_result_id>1041</request_result_id>

<request_uri>
[POST] mediafile/upload?upload_ticket=S1RuaZX7TfdGTgsmnfd9UfRW
</request_uri>
<version>2.1.1.508:471dfedc1fa9</version>
</header>
<items/>
</response>

Change History

Changed 3 years ago by forgacs

  • owner changed from pforgacs to arjen
  • status changed from new to assigned

Ready. The fix is on my repository.

Changed 3 years ago by MC-arjen

  • status changed from assigned to closed
  • version changed from 2.1.1 to 2.1.2
  • resolution set to fixed

committed

Changed 3 years ago by Frans

  • tested changed from no to yes

/mediafile/J1XQbTZnInLWj9WYWVplZryT/still/create
[post] still_type=SCENE

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <header>
    <item_count>1</item_count>
    <item_count_total>1</item_count_total>
    <item_offset>0</item_offset>
    <request_class>mediamosa_rest_call_job_create_still_for_mediafile</request_class>
    <request_matched_method>POST</request_matched_method>
    <request_matched_uri>/mediafile/$mediafile_id/still/create</request_matched_uri>
    <request_process_time>0.0349</request_process_time>
    <request_result>success</request_result>
    <request_result_description></request_result_description>
    <request_result_id>601</request_result_id>
    <request_uri>[POST] mediafile/J1XQbTZnInLWj9WYWVplZryT/still/create?user_id=admin&amp;is_app_admin=TRUE</request_uri>
    <version>2.1.2.548:d1149b35afd3</version>
    <request_query_count>5</request_query_count>
    <errors>
      <error>Warning: Missing argument 2 for mediamosa_rest_call::set_param_value(), called in /var/opt/www/vpcore/htdocs/sites/all/modules/mediamosa/modules/job/mediamosa_job.rest.inc on line 991 and defined, mediamosa_rest_call-&gt;set_param_value()() in file /var/opt/www/vpcore/htdocs/sites/all/modules/mediamosa/rest/mediamosa_rest_call.inc on line 515.</error>
      <error>Notice: Undefined variable: value, mediamosa_rest_call-&gt;set_param_value()() in file /var/opt/www/vpcore/htdocs/sites/all/modules/mediamosa/rest/mediamosa_rest_call.inc on line 521.</error>
      <error>Warning: Missing argument 2 for mediamosa_rest_call::set_param_value(), called in /var/opt/www/vpcore/htdocs/sites/all/modules/mediamosa/modules/job/mediamosa_job.rest.inc on line 994 and defined, mediamosa_rest_call-&gt;set_param_value()() in file /var/opt/www/vpcore/htdocs/sites/all/modules/mediamosa/rest/mediamosa_rest_call.inc on line 515.</error>
      <error>Notice: Undefined variable: value, mediamosa_rest_call-&gt;set_param_value()() in file /var/opt/www/vpcore/htdocs/sites/all/modules/mediamosa/rest/mediamosa_rest_call.inc on line 521.</error>
    </errors>
  </header>
  <items>
    <item id="1">
      <job_id>402</job_id>
    </item>
  </items>
</response>

Changed 3 years ago by MC-arjen

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 3 years ago by MC-arjen

  • owner changed from arjen to pforgacs
  • status changed from reopened to assigned

Changed 3 years ago by forgacs

  • owner changed from pforgacs to arjen

The fix is on my repository.

Changed 3 years ago by MC-arjen

  • status changed from assigned to closed
  • version changed from 2.1.2 to 2.1.3
  • resolution set to fixed

Scene changes now also works, commited

Changed 3 years ago by Frans

  • accepted changed from no to yes
Note: See TracTickets for help on using tickets.