Closed Bug 554781 Opened 14 years ago Closed 14 years ago

uploading screencast file does not work

Categories

(support.mozilla.org :: Mobile, task)

x86
All
task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: vish_moz, Assigned: paulc)

References

()

Details

(Whiteboard: run sql from bug 561501 and change webdav path to $PATH/mobile)

STR:
1. log into SUMO Mobile with a contributor account
2. go to a KB article, https://mobile-support-stage.mozilla.com/en-US/kb/Test+kb+Mar+24+2010?bl=n
3. click on 'Edit this page'
4. scroll down to 'Upload Screencast' secttion
5. Browse -> Pick a .flv file -> Upload

Actual result:
File does not get uploaded. No error message either.

Expected result:
File gets uploaded
Target Milestone: --- → 1.5.4
Assignee: nobody → paulc
So far I've been able to determine that the file does get uploaded but it's not attached to the wiki page.
There appear to be several problems going on here:

1. Those screencasts were uploaded in the same location as the ones for desktop.

This is a problem because files are tied to the page they belong to by page name and language. So desktop and mobile should each have their own folder. I fixed this on stage by creating a mobile folder and uploading there.

2. Uploading files works, but they don't appear attached to the page. I could reproduce this locally when not under VPN. So my best guess here is that mobile stage does not have access to apps.videos.mozilla.org

This took a while to figure out because it just seems wrong that you can upload files but not access them afterwards :-)


Action items:
1) (This bug) For the SUMO team: change the screencast path for mobile production like so:

Base URL for file uploads (if using WebDav, use webdav:// instead of http://):
webdav://apps.videos.mozilla.org/manage/sumo/mobile/
Base URL for files to be served from:
http://videos.mozilla.org/serv/sumo/mobile/
See mobile stage if unsure, at: https://mobile-support-stage.mozilla.com/tiki-admin.php?page=wiki


2) (Bug 561501) For IT: check that mobile stage has access to apps.videos.mozilla.org and give it access if not.


Will come back to this bug if 2) doesn't solve the problem.
Assignee: paulc → nobody
Depends on: 561501
Assignee: nobody → paulc
Fixed. I'll try to explain...

So minify is disabled on mobile (both stage and prod). This was causing issues with the javascript on the editpage (JS errors) and the screencasts wouldn't show up. It wasn't what I thought, but in the end I still needed IT's help to run some SQL (see bug 561501).

We'll need to run this same SQL on production when we push. Otherwise, it should all work fine now.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: run sql from bug 561501 and change webdav path to $PATH/mobile
This works now. Looks like IT did run the required SQL.
Verified, FIXED.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.