Ticket #399 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

/collection problem (2)

Reported by: Michiel.Schok Owned by: robert
Priority: critical Milestone: MediaMosa 2.3
Component: Core Version:
Keywords: Cc:
MoSCoW: none Estimated time after impact analysis:
Related to project: none Tested: no
Accepted: no Estimated Hours: 0

Description

Een /collection call levert nu alleen nog maar 'gevulde' collecties op: collecties met 1 of meerdere assets.
Lege collecties komen niet meer tevoorschijn in de resultaten.

Een vers aangemaakte collectie op mijn naam:

<?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_collection_get</request_class>
    <request_matched_method>GET</request_matched_method>
    <request_matched_uri>/collection/$coll_id</request_matched_uri>
    <request_process_time>0.0318</request_process_time>
    <request_result>success</request_result>
    <request_result_description></request_result_description>
    <request_result_id>601</request_result_id>
    <request_uri>[GET] collection/L2cNOBXddNKNrKKcNCqes7u2</request_uri>
    <version>2.3.0.1029</version>
  </header>
  <items>
    <item id="1">
      <coll_id>L2cNOBXddNKNrKKcNCqes7u2</coll_id>
      <title>TEST_trein2</title>
      <description></description>
      <app_id>5</app_id>
      <owner_id>SURFNET.michiel</owner_id>
      <group_id></group_id>
      <isprivate>FALSE</isprivate>
      <private>FALSE</private>
      <public>TRUE</public>
      <category>FALSE</category>
      <created>2010-11-08 09:48:27</created>
      <changed>2010-11-08 09:48:27</changed>
      <is_unappropriate>FALSE</is_unappropriate>
      <public_assign>FALSE</public_assign>
      <numofvideos>0</numofvideos>
    </item>
  </items>
</response>

komt niet te voorschijn in de resultaten als ik zoek naar alle collecties van 'SURFNET.michiel':

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <header>
    <item_count>4</item_count>
    <item_count_total>4</item_count_total>
    <item_offset>0</item_offset>
    <request_class>mediamosa_rest_call_collection_search</request_class>
    <request_matched_method>GET</request_matched_method>
    <request_matched_uri>/collection</request_matched_uri>
    <request_process_time>0.4912</request_process_time>
    <request_result>success</request_result>
    <request_result_description></request_result_description>
    <request_result_id>601</request_result_id>
    <request_uri>[GET] collection?owner_id=SURFNET.michiel</request_uri>
    <version>2.3.0.1029</version>
  </header>
  <items>
    <item id="1">
      <coll_id>KfMSqPYHiKFBYx9LQY16ZmVv</coll_id>
      <title>Afschermingstest core 1.7</title>
      <description>Afschermingstest. Collectie bevat materiaal dat op verschillende manieren afgeschermd is.</description>
      <app_id>5</app_id>
      <owner_id>SURFNET.michiel</owner_id>
      <group_id>default</group_id>
      <isprivate>FALSE</isprivate>
      <private>FALSE</private>
      <public>TRUE</public>
      <category>FALSE</category>
      <created>2009-11-06 09:26:32</created>
      <changed>2009-11-06 09:26:32</changed>
      <is_unappropriate>FALSE</is_unappropriate>
      <public_assign>FALSE</public_assign>
      <numofvideos>4</numofvideos>
    </item>
    <item id="2">
      <coll_id>aUNpWKawVeKXdVVEXsZudWkV</coll_id>
      <title>Trac 338</title>
      <description>Testen van collecties met empty_assets erin</description>
      <app_id>5</app_id>
      <owner_id>SURFNET.michiel</owner_id>
      <group_id></group_id>
      <isprivate>FALSE</isprivate>
      <private>FALSE</private>
      <public>TRUE</public>
      <category>FALSE</category>
      <created>2010-06-02 12:10:51</created>
      <changed>2010-09-15 14:47:57</changed>
      <is_unappropriate>FALSE</is_unappropriate>
      <public_assign>FALSE</public_assign>
      <numofvideos>1</numofvideos>
    </item>
    <item id="3">
      <coll_id>j1qnGpCUHbjqOBZrabOl1dNI</coll_id>
      <title>h264 transcode collectie</title>
      <description>Collectie om te testen met h.264 transcodes, als vervanging van de #13 flash transcode.</description>
      <app_id>5</app_id>
      <owner_id>SURFNET.michiel</owner_id>
      <group_id></group_id>
      <isprivate>FALSE</isprivate>
      <private>FALSE</private>
      <public>TRUE</public>
      <category>FALSE</category>
      <created>2010-10-27 14:04:14</created>
      <changed>2010-10-27 14:04:14</changed>
      <is_unappropriate>FALSE</is_unappropriate>
      <public_assign>FALSE</public_assign>
      <numofvideos>26</numofvideos>
    </item>
    <item id="4">
      <coll_id>jNQWiaW6YhDSRQcOQ6HU0qfm</coll_id>
      <title>Michiel</title>
      <description>test collectie aanmaken in core 2.1</description>
      <app_id>5</app_id>
      <owner_id>SURFNET.michiel</owner_id>
      <group_id></group_id>
      <isprivate>FALSE</isprivate>
      <private>FALSE</private>
      <public>TRUE</public>
      <category>FALSE</category>
      <created>2010-06-03 11:52:34</created>
      <changed>2010-06-03 11:52:34</changed>
      <is_unappropriate>FALSE</is_unappropriate>
      <public_assign>FALSE</public_assign>
      <numofvideos>3</numofvideos>
    </item>
  </items>
</response>

Change History

Changed 3 years ago by Michiel.Schok

  • milestone changed from MediaMosa X.X to MediaMosa 2.3

Milestone corrected

Changed 3 years ago by Frans

Still critical. Must be in MM 2.3.1

Changed 3 years ago by Frans

  • owner set to robert
  • status changed from new to assigned

Changed 2 years ago by robert

Fixed->v2.3.1 build 1145+

Changed 2 years ago by robert

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.