Closed Bug 494700 Opened 15 years ago Closed 15 years ago

Developer Adding Tags: Functionality

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mikelee, Assigned: expatrick)

References

Details

(Whiteboard: [webmocha])

As indicated on the Tagging Spec
(http://docs.google.com/Doc?docid=dds6vwb4_1dxwx5vg3&hl=en)

1.2 - Developer Tags
On the add-on edit screen developers can specify one or more tags (up to a total of 80) which are space delimited.  These tags will appear in the order that they were entered on the final screen.  These tags appear on listing pages as well as in search results as part of the add-on metadata.

This bug involves the CakePHP portion of this task.
Target Milestone: --- → 5.0.7
And writing new or update existing unit tests (Simpletest), of course ;)
(In reply to comment #1)
> And writing new or update existing unit tests (Simpletest), of course ;)

woo
Severity: enhancement → normal
Whiteboard: [webmocha]
This is ready to go; need to add tests. These tests require a logged-in user and I'm unable to get a working session with populated session variables. I see that the users controller tests do this, but I can't figure out how to invoke the user login from the tags controller. The existing 'reviews' tests seem to have the same problem - the session data isnt populated so the query fails when the user id field is empty (although the test doesn't formally fail).
Blocks: 500452
Created bug 500452 to track unit tests for this functionality.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.