jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-2919

Refactor event handling in Sonar Web

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.11
  • Fix Version/s: 2.12
  • Component/s: Dashboard, Events, History
  • Labels:
    None

Description

Event administration (creation / modification / deletion) should not be done in the event widget that is displayed on dashboard.
Instead, this should be handled in the same service as the snapshot deletion ("Delete history"), and an event must be necessarily linked to a snapshot to prevent side effects (like bug SONAR-2811).

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    mylyn-context.zip
    21/Oct/11 7:29 AM
    4 kB
    Fabrice Bellingard
    1. XML File
      http%3A%2F%2Fjira.codehaus.org-130617.xml 59 kB
    Download Zip
    Show
    Zip Archive
    mylyn-context.zip
    21/Oct/11 7:29 AM
    4 kB
    Fabrice Bellingard
  1. event-widget-right-border.jpg
    10 kB
    25/Oct/11 9:23 AM

Issue Links

depends upon

Bug - A problem which impairs or prevents the functions of the product. SONAR-2811 Time Machine won't compare to previous versions if said version has been manually modified.

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is related to

Bug - A problem which impairs or prevents the functions of the product. SONAR-3075 "value too long" inserting into events after updating a quality profile

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Improvement - An improvement or enhancement to an existing feature or task. SONAR-801 Events on Dashboard confused for same project dates

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Freddy Mallet added a comment - 25/Oct/11 9:21 AM

It's currently possible to create an event without defining the category which leads to an unexpected behavior : those events are not displayed in the "Events" widget. I think that we should forbid to create an event without providing an event category.

Show
Freddy Mallet added a comment - 25/Oct/11 9:21 AM It's currently possible to create an event without defining the category which leads to an unexpected behavior : those events are not displayed in the "Events" widget. I think that we should forbid to create an event without providing an event category.
Hide
Permalink
Freddy Mallet added a comment - 25/Oct/11 9:24 AM

In the updated "Events" widget the right border is not displayed with Chrome.

Show
Freddy Mallet added a comment - 25/Oct/11 9:24 AM In the updated "Events" widget the right border is not displayed with Chrome.
Hide
Permalink
Freddy Mallet added a comment - 25/Oct/11 9:30 AM

It should not be possible to "remove" the version on the last snapshot to prevent any side effect in the current "TimeMachine" service

Show
Freddy Mallet added a comment - 25/Oct/11 9:30 AM It should not be possible to "remove" the version on the last snapshot to prevent any side effect in the current "TimeMachine" service
Hide
Permalink
Freddy Mallet added a comment - 25/Oct/11 9:32 AM

As this is no more possible to make any modification from the "Events" widget, it would be better to display this "Events" widget even on sub-projects.

Show
Freddy Mallet added a comment - 25/Oct/11 9:32 AM As this is no more possible to make any modification from the "Events" widget, it would be better to display this "Events" widget even on sub-projects.
Hide
Permalink
Fabrice Bellingard added a comment - 26/Oct/11 4:02 AM

Updates pushed to master:

  • Make it impossible to create event without a category (new "Other" category)
  • Fix display issue on Chrome
  • Make it impossible to remove version from last snapshot
  • Show event widget on sub-projects
  • Update purge mechanism to delete events that are not attached to a snapshot or attached to an unexisting snapshot
Show
Fabrice Bellingard added a comment - 26/Oct/11 4:02 AM Updates pushed to master:
  • Make it impossible to create event without a category (new "Other" category)
  • Fix display issue on Chrome
  • Make it impossible to remove version from last snapshot
  • Show event widget on sub-projects
  • Update purge mechanism to delete events that are not attached to a snapshot or attached to an unexisting snapshot
Hide
Permalink
Freddy Mallet added a comment - 27/Oct/11 10:01 AM

Could you just prevent users from creating twice the same events ? This can lead either to error when one of this duplicated event is on the last snapshot or to unexpected behavior when using this version in differential views.

Show
Freddy Mallet added a comment - 27/Oct/11 10:01 AM Could you just prevent users from creating twice the same events ? This can lead either to error when one of this duplicated event is on the last snapshot or to unexpected behavior when using this version in differential views.
Hide
Permalink
Fabrice Bellingard added a comment - 28/Oct/11 4:14 AM

Prevent user from creating twice the same event.

  • Most importantly for versions
  • Check also made on any event
  • WS API updated accordingly
Show
Fabrice Bellingard added a comment - 28/Oct/11 4:14 AM Prevent user from creating twice the same event.
  • Most importantly for versions
  • Check also made on any event
  • WS API updated accordingly
Hide
Permalink
Freddy Mallet added a comment - 01/Nov/11 11:36 AM

Manually tested

Show
Freddy Mallet added a comment - 01/Nov/11 11:36 AM Manually tested
Hide
Permalink
Fabrice Bellingard added a comment - 03/Nov/11 6:14 AM

ITs done.

Show
Fabrice Bellingard added a comment - 03/Nov/11 6:14 AM ITs done.

People

  • Assignee:
    Fabrice Bellingard
    Reporter:
    Fabrice Bellingard
Vote (0)
Watch (0)

Dates

  • Created:
    18/Oct/11 10:54 AM
    Updated:
    09/Dec/11 8:27 AM
    Resolved:
    28/Oct/11 4:47 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.