Closed Bug 547846 Opened 14 years ago Closed 14 years ago

CSAT responses broken due to hardcoded forumIDs?

Categories

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

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: jsocol)

References

()

Details

Attachments

(1 file)

After choosing the "Yes, this solved my problem" link on Mobile's CSAT, I'm taken to, say:

https://mobile-support-stage.mozilla.com/tiki-feedback.php?id=50&hash=49a5ab157d3b8869ab93952e425ad973&type=forum_topic&feedback=Firefox%20Support%20Forum&commentId=51

...but I just get:

Error

Permission denied you cannot view this page

(According to Cheng, this is because we hard-code our Forum IDs?)
Duplicate of bug 547770 ?
No, bug 547770 caused an error in the JS console but did nothing in the browser.
Assignee: nobody → laura
BTW I get
This forum is flat and doesn't allow replies to other replies 
frmo your link in comment #1. (Possibly deleted by the new db dump on stage?)
Also, I haven't been able to repro this :(
Target Milestone: 1.5.2 → 1.5.3
Severity: critical → normal
Sorry; full STR:

1. Visit http://mobile-support-stage.mozilla.com/en-US/forum/5
2. Ask a question while logged in (preferably)
3. Click "Watch this topic" at the top right
4. Come along as another user and choose "Proposed solution to the problem"

The original poster (1-2) should now get an email with the "Yes, this solved..." and "No, ..." links.

Clicking on those will yield the error in comment 0.
(BTW, step 3 shouldn't be necessary for email notification, I don't think -- I thought it should be automatic; is that a config thing, Cheng?)
Assignee: laura → nobody
Target Milestone: 1.5.3 → 1.5.2
Assignee: nobody → james
It looks like the poll data was hard coded, in a sense, and missing. This adds that data into the tables, and made the thread solutions work for me.
Attachment #432913 - Flags: review?(paulc)
Comment on attachment 432913 [details] [diff] [review]
there was some missing data in the tiki_polls and tiki_poll_options tables

WFM. I understand this was broken when going through the tiki-feedback link, not when viewing the thread itself.

Makes me wonder what other CSAT voting may be broken.
Attachment #432913 - Flags: review?(paulc) → review+
Depends on: 553044
This this is pure SQL, filed bug 553044 to run the patch on mobile-support-stage.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified FIXED; weird that you have to explicitly "Watch this topic," even when you're a logged-in user, but that's a separate (config?) issue.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: