HWBOT
  1. HWBOT
  2. HWBOT-1019

If a user deletes his best submission, a replacement is not always found

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: hwbot v5.6.0
    • Labels:
      None

      Description

      A result is disabled for points if there are no system pictures attached and he's in the enthusiast league. Because of this UserFacade.resetBestSubmissionsForUser() does not always find a new candidate for best submission.
      I adapted the query a little bit, so instead of the restriction disabled_for_points = 'N', it now has disabled_for_rankings = 'N'.

      I'm pretty confident this doesn't break anything but well.. it's hard to be absolutely sure :).

        Activity

        Hide
        Build Server added a comment -
        Integrated in HWBOT v4 #2802 (See [http://dev.hwbot.org/job/HWBOT%20v4/2802/])
            HWBOT-1019

        If a user deletes his best submission, a replacement is not always found

        dennis :
        Files :
        * /hwbot/trunk/src/main/java/org/hwbot/facade/UserFacadeImpl.java
        Show
        Build Server added a comment - Integrated in HWBOT v4 #2802 (See [ http://dev.hwbot.org/job/HWBOT%20v4/2802/ ])      HWBOT-1019 If a user deletes his best submission, a replacement is not always found dennis : Files : * /hwbot/trunk/src/main/java/org/hwbot/facade/UserFacadeImpl.java
        Hide
        Build Server added a comment -
        Integrated in HWBOT v4 #2803 (See [http://dev.hwbot.org/job/HWBOT%20v4/2803/])
            HWBOT-1019

        If a user deletes his best submission, a replacement is not always found

        dennis :
        Files :
        * /hwbot/trunk/src/main/java/org/hwbot/facade/UserFacadeImpl.java
        Show
        Build Server added a comment - Integrated in HWBOT v4 #2803 (See [ http://dev.hwbot.org/job/HWBOT%20v4/2803/ ])      HWBOT-1019 If a user deletes his best submission, a replacement is not always found dennis : Files : * /hwbot/trunk/src/main/java/org/hwbot/facade/UserFacadeImpl.java

          People

          • Assignee:
            Dennis Devriendt
            Reporter:
            Dennis Devriendt
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: