Closed
Bug 833595
Opened 12 years ago
Closed 12 years ago
[mediadb] ignore change events for hidden files
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(blocking-b2g:tef+, b2g18+ fixed, b2g18-v1.0.1 fixed)
RESOLVED
FIXED
blocking-b2g | tef+ |
People
(Reporter: djf, Assigned: djf)
References
Details
(Whiteboard: QARegressExclude)
Attachments
(1 file)
MediaDB ignores files and directories whose names begin with "." when scanning. But it does not correctly ignore device storage change events for those same files.
When the Camera app records a video, it generates then deletes a dot file like this, which causes the following warning in logcat:
Content JS WARN at app://gallery.gaiamobile.org/shared/js/mediadb.js:1274 in anonymous: MediaDB: Unknown file in insertRecord: DCIM/100MZLLA/.VID_0004.3gp
This particular warning is benign, so we don't need to fix this in the 1.0.x timeline, but we should track it and get the patch I'm about to fix landed soonish.
Assignee | ||
Comment 1•12 years ago
|
||
Dale,
This is a minor patch to mediadb related to the Camera's use of a dot file. The review should be simple, but is not urgent, since I don't know when we'll be able to land this.
Assignee: nobody → dflanagan
Attachment #705131 -
Flags: review?(dale)
Assignee | ||
Comment 2•12 years ago
|
||
I've attached a patch and have nominated this as tracking-b2g18 so we don't forget to land it.
tracking-b2g18:
--- → ?
Comment 3•12 years ago
|
||
Comment on attachment 705131 [details]
link to patch on github
Sorry I was certain I had already r+'d this
Attachment #705131 -
Flags: review?(dale) → review+
Assignee | ||
Comment 4•12 years ago
|
||
merged into master:
https://github.com/mozilla-b2g/gaia/commit/b29c27f68bbc19ea4f3fbfc03db059c41ccfb2d2
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Comment 5•12 years ago
|
||
Uplifted commit b29c27f68bbc19ea4f3fbfc03db059c41ccfb2d2 as:
v1-train: 31db4d6fe361bd094decf8529a508fbe9950e39b
status-b2g18:
--- → fixed
Comment 6•12 years ago
|
||
Please see
https://bugzilla.mozilla.org/show_bug.cgi?id=861930#c6 and
https://bugzilla.mozilla.org/show_bug.cgi?id=861930#c7
for nominating this to tef+, thanks.
blocking-b2g: --- → tef?
Updated•12 years ago
|
blocking-b2g: tef? → tef+
Comment 7•12 years ago
|
||
v1.0.1: 44b7bab93ce4e6c712a8659366c817641845d76c
status-b2g18-v1.0.1:
--- → fixed
Comment 8•12 years ago
|
||
Unable to test here. Marking as QARegressExclude.
Whiteboard: QARegressExclude
You need to log in
before you can comment on or make changes to this bug.
Description
•