Beta 4.1-beta1 - Width Weight error #928


  • New
  • Defect
Open
Assigned to shadowed103
  • transitbus created this issue Jun 10, 2016

    What steps will reproduce the problem?
    1. Adjust width Weight by sliding scale. When it hits 0 this happens.

    ShadowedUnitFrames\modules\layout.lua:478: Division by zero
    ShadowedUnitFrames\modules\layout.lua:478: in function `SetupText'
    ShadowedUnitFrames\modules\layout.lua:143: in function `Load'
    ShadowedUnitFrames\modules\layout.lua:106: in function `Reload'
    ShadowedUF_Options\config.lua:219: in function <ShadowedUF_Options\config.lua:213>
    ShadowedUF_Options\config.lua:249: in function <ShadowedUF_Options\config.lua:239>
    ShadowedUF_Options\config.lua:265: in function <ShadowedUF_Options\config.lua:253>
    ShadowedUF_Options\config.lua:1725: in function <ShadowedUF_Options\config.lua:1723>
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[2]"]:9: in function <[string "safecall Dispatcher[2]"]:5>
    (tail call): ?
    ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-60.lua:799: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:614>
    ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-60.lua:851: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:839>
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
    (tail call): ?
    Masque\Libs\AceGUI-3.0\AceGUI-3.0-34.lua:314: in function `Fire'
    ...sque\Libs\AceGUI-3.0-34\widgets\AceGUIWidget-Slider.lua:70: in function <...sque\Libs\AceGUI-3.0\widgets\AceGUIWidget-Slider.lua:60>

    Locals:
    nil

  • transitbus added the tags New Defect Jun 10, 2016
  • nevcairiel posted a comment Jul 19, 2016

    Division by zero errors are typically enabled in beta clients and just go away on release clients. A weight of 0 doesn't make much sense so it could probably protect against that though.


To post a comment, please login or register a new account.