Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RebortAbuse And LicenseReportVisiblity fixes #1770

Closed
wants to merge 2 commits into from

Conversation

bhuvak
Copy link
Contributor

@bhuvak bhuvak commented Dec 5, 2013

Fixes #1724 and #1586
#1724 :

Clubbed "package has a bug" and "package failed to install" to one single reason. When this option is chosen an error message will be popped out and all other fields will be disabled.

Manually tested the below:

  1. Report abuse after logging in and chose "Package has a bug/Failed to install".
  2. Report abuse without logging in and chose "Package has a bug/Failed to install".
  3. Switch back and forth between reasons and make sure the fields get disabled and enabled appropriately.
    No easy way to supress Friendly License reports across all versions of a package #1586
  4. Added "Enable/Disable For this version" and "Enable/Disable For All versions" buttons in UI. If "Enable All versions" is chosen, all package versions for that package registration will be updated in DB and in Lucence.
  5. Added a unit test for the same.
  6. Manually verified the E2E scenarios around it.


// Update the index for all versions
foreach(Package packageVersion in packageRegistration.Packages)
_indexingService.UpdatePackage(packageVersion);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use "{}" please, even with a single statement body we prefer to use "{}" :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, will make a note of it going forward.

@analogrelay
Copy link
Contributor

@bhuvak can you remove the package version fix and push a new copy of the branch without it so I can merge this in to the I6 QA deployment?

@bhuvak
Copy link
Contributor Author

bhuvak commented Dec 18, 2013

Closing this request as the required portions of it are ported to dev.

@bhuvak bhuvak closed this Dec 18, 2013
@maartenba maartenba deleted the bhuvak-ReportAbuseErrorconsolidatation-1724 branch June 12, 2015 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unify the user experience when choosing inappropriate reasons on the Report Abuse page
2 participants