Ticket #167 (closed defect: fixed)
<is_empty_asset> = true, while there is a valid, usable mediafile
| Reported by: | Michiel.Schok | Owned by: | robert |
|---|---|---|---|
| Priority: | major | Milestone: | MediaMosa 2.1 |
| Component: | Core | Version: | |
| Keywords: | Cc: | ||
| MoSCoW: | Must Have | Estimated time after impact analysis: | |
| Related to project: | none | Tested: | yes |
| Accepted: | yes | Estimated Hours: |
Description
Seen on 1.5.7, not testen on 1.6
Related to #165 (and the basis of our experiments):
When we
1. Create an asset 2. Create an empty mediafile 3. Create an uploadticket to the mediafile 4. Create another mediafile with an URI
We have an asset with two mediafiles.
One of the mediafiles is empty (an uploadticket is issued, but never used), the other mediafile contains an URI, we observe the following when an /asset/{id} call is issued:
1. If the mediafile-id of the empty mediafile comes 'before' (alphabetically) the mediafile-id of the URI-mediafile, the <is_empty_asset> is set to TRUE
2. if it comes 'after', <is_empty_asset> is set to FALSE
This explains why roughly speaking about half our uploads of external assets goes wrong...
Change History
Note: See
TracTickets for help on using
tickets.
