Closed Bug 1324417 Opened 7 years ago Closed 7 years ago

[QnA] Images not displayed in QnA

Categories

(support.mozilla.org :: Lithium Migration, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: giorgos, Assigned: scott.riley, NeedInfo)

Details

Images in Questions and Answers are not displayed. I confirmed that images are included in the assets send over to Lithium. 

I believe this is due to the HTML containing links matching Kitsune's asset structure. E.g.

  http://migration26.stage.lithium.com/t5/Privacy-and-security-settings/Firefox-crashes/td-p/1206352

Links to 

  http://migration26.stage.lithium.com/media/uploads/gallery/images/2014-06-04-07-10-50-73db6f.png

which is a 404.

Please make sure that any solution applied in QnA is also applied for user Forums. KB Articles already have this fixed and images are displayed correctly.


In the case of a new migration you can find the QnA linked above by:
 1. Going to search
 2. Select "users" tab
 3. Search for user "lankfor1"
 4. Click to view his/hers one post
Flags: needinfo?(musa.musa)
I fixed this issue and ran new particular test migration without users, attachements, kudos and accepted solutions.
These are the results:

Example with relative path in source database: src="/media/uploads/gallery/images/..."
Source URL: https://support.mozilla.org/en-US/questions/770577
Destination URL: http://migration26.stage.lithium.com/t5/Test-questions/How-do-I-transfer-my-Safari-bookmarks-on-my-mac-to-Firefox/m-p/1298816/highlight/true#M15

Example with URL in source database: src="https://support.cdn.mozilla.net/media/uploads/..."
Source URL: https://support.mozilla.org/en-US/questions/943449
Destination URL: http://migration26.stage.lithium.com/t5/Test-questions/Flash-11-5-doesn-t-load-video-http-www-france24-com-fr-aef/m-p/1298845/highlight/true#M44

Example with URL in source database: src="//support.cdn.mozilla.net/media/uploads/..."
Source URL: https://support.mozilla.org/en-US/questions/1019633
Destination URL: http://migration26.stage.lithium.com/t5/Test-questions/Can-t-find-the-menu-icon-on-my-firefox-or-mozzila-desktop-Where/m-p/1298859/highlight/true#M58

Example with URL in source database: src="https://support.mozilla.com/media/uploads/..."
Source URL: https://support.mozilla.org/en-US/questions/799072
Destination URL: http://migration26.stage.lithium.com/t5/Test-questions/Is-there-a-way-to-have-Firefox-remember-a-username-password-if-I/m-p/1298805/highlight/true#M4

Example with URL in source database: href="http://sumo-cdn.mozilla.net/media/uploads/..."
Source URL: https://support.mozilla.org/en-US/questions/911918
Destination URL: http://migration26.stage.lithium.com/t5/Test-questions/Firefox-keeps-halting-when-what-seems-to-be-a-Flash-video-runs/m-p/1298814/highlight/true#M13

Example with URL in source database: src="http://support.cdn.mozilla.net/media/uploads/..."
Source URL: https://support.mozilla.org/en-US/questions/960036
Destination URL: http://migration26.stage.lithium.com/t5/Test-questions/Getting-scripts-that-are-making-a-new-install-of-FF-unresponsive/m-p/1298854/highlight/true#M53

Example with URL in source database: href="https://support.cdn.mozilla.net/media/uploads/..."
Source URL: https://support.mozilla.org/en-US/questions/943374
Destination URL: http://migration26.stage.lithium.com/t5/Test-questions/How-can-I-get-rid-of-your-nag-screens-at-Yahoo-mail/m-p/1298840/highlight/true#M39

Example with URL in source database: src="https://support.mozilla.org/media/uploads/
Source URL: https://support.mozilla.org/en-US/questions/916036
Destination URL: http://migration26.stage.lithium.com/t5/Test-questions/I-lost-all-of-my-favorites-when-I-uploaded-my-current-firefox/m-p/1298826/highlight/true#M25

Example with URL in source database: src="http://support.mozilla.org/media/uploads/
Source URL: https://support.mozilla.org/en-US/questions/920041
Destination URL: http://migration26.stage.lithium.com/t5/Test-questions/When-I-open-firefox-rather-than-1-window-opening-I-get-3-every/m-p/1298833/highlight/true#M32
Updated version:

Example with relative path in source database: src="/media/uploads/gallery/images/..."
Source URL: https://support.mozilla.org/en-US/questions/770577
Destination URL: http://migration26.stage.lithium.com/t5/All-Products/How-do-I-transfer-my-Safari-bookmarks-on-my-mac-to-Firefox/m-p/110706/highlight/true#M7315

Example with URL in source database: src="https://support.cdn.mozilla.net/media/uploads/..."
Source URL: https://support.mozilla.org/en-US/questions/943449
Destination URL: http://migration26.stage.lithium.com/t5/Privacy-and-security-settings/Flash-11-5-doesn-t-load-video-http-www-france24-com-fr-aef/m-p/531909/highlight/true#M500534

Example with URL in source database: src="//support.cdn.mozilla.net/media/uploads/..."
Source URL: https://support.mozilla.org/en-US/questions/1019633
Destination URL: http://migration26.stage.lithium.com/t5/Privacy-and-security-settings/Can-t-find-the-menu-icon-on-my-firefox-or-mozzila-desktop-Where/m-p/824292/highlight/true#M738652

Example with URL in source database: src="https://support.mozilla.com/media/uploads/..."
Source URL: https://support.mozilla.org/en-US/questions/799072
Destination URL: http://migration26.stage.lithium.com/t5/Privacy-and-security-settings/Is-there-a-way-to-have-Firefox-remember-a-username-password-if-I/m-p/171951/highlight/true#M155131

Example with URL in source database: href="http://sumo-cdn.mozilla.net/media/uploads/..."
Source URL: https://support.mozilla.org/en-US/questions/911918
Destination URL: http://migration26.stage.lithium.com/t5/Privacy-and-security-settings/Firefox-keeps-halting-when-what-seems-to-be-a-Flash-video-runs/m-p/424586/highlight/true#M398386

Example with URL in source database: src="http://support.cdn.mozilla.net/media/uploads/..."
Source URL: https://support.mozilla.org/en-US/questions/960036
Destination URL: http://migration26.stage.lithium.com/t5/Privacy-and-security-settings/Getting-scripts-that-are-making-a-new-install-of-FF-unresponsive/m-p/570849/highlight/true#M536527

Example with URL in source database: href="https://support.cdn.mozilla.net/media/uploads/..."
Source URL: https://support.mozilla.org/en-US/questions/943374
Destination URL: http://migration26.stage.lithium.com/t5/Privacy-and-security-settings/How-can-I-get-rid-of-your-nag-screens-at-Yahoo-mail/m-p/528578

Example with URL in source database: src="https://support.mozilla.org/media/uploads/
Source URL: https://support.mozilla.org/en-US/questions/916036
Destination URL: http://migration26.stage.lithium.com/t5/Privacy-and-security-settings/I-lost-all-of-my-favorites-when-I-uploaded-my-current-firefox/m-p/432680/highlight/true#M406177

Example with URL in source database: src="http://support.mozilla.org/media/uploads/
Source URL: https://support.mozilla.org/en-US/questions/920041
Destination URL: http://migration26.stage.lithium.com/t5/Privacy-and-security-settings/When-I-open-firefox-rather-than-1-window-opening-I-get-3-every/m-p/449614/highlight/true#M422545
I confirm that images are now shown. Thanks!
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(giorgos)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.