{"action":"created","issue":{"url":"https://api.github.com/repos/Auctionator/Auctionator/issues/358","repository_url":"https://api.github.com/repos/Auctionator/Auctionator","labels_url":"https://api.github.com/repos/Auctionator/Auctionator/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/Auctionator/Auctionator/issues/358/comments","events_url":"https://api.github.com/repos/Auctionator/Auctionator/issues/358/events","html_url":"https://github.com/Auctionator/Auctionator/issues/358","id":358307217,"node_id":"MDU6SXNzdWUzNTgzMDcyMTc=","number":358,"title":"Auctionator Ignoriong Default Auction Duration Setting","user":{"login":"mbrad0529","id":19412067,"node_id":"MDQ6VXNlcjE5NDEyMDY3","avatar_url":"https://avatars3.githubusercontent.com/u/19412067?v=4","gravatar_id":"","url":"https://api.github.com/users/mbrad0529","html_url":"https://github.com/mbrad0529","followers_url":"https://api.github.com/users/mbrad0529/followers","following_url":"https://api.github.com/users/mbrad0529/following{/other_user}","gists_url":"https://api.github.com/users/mbrad0529/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrad0529/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrad0529/subscriptions","organizations_url":"https://api.github.com/users/mbrad0529/orgs","repos_url":"https://api.github.com/users/mbrad0529/repos","events_url":"https://api.github.com/users/mbrad0529/events{/privacy}","received_events_url":"https://api.github.com/users/mbrad0529/received_events","type":"User","site_admin":false},"labels":[{"id":250164364,"node_id":"MDU6TGFiZWwyNTAxNjQzNjQ=","url":"https://api.github.com/repos/Auctionator/Auctionator/labels/bug","name":"bug","color":"fc2929","default":true},{"id":680272642,"node_id":"MDU6TGFiZWw2ODAyNzI2NDI=","url":"https://api.github.com/repos/Auctionator/Auctionator/labels/info%20needed","name":"info needed","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-08T16:00:05Z","updated_at":"2018-10-01T23:51:23Z","closed_at":null,"author_association":"NONE","body":"While using Auctionator version 5.0.5 I have been having issues posting items for sale, namely that the Duration option seems to be set to Custom and is ignoring the setting in the Auctionator configuration, requiring me to manually check the option for duration to either 12h, 24h, or 48h before I can post the item.\r\n\r\n## Steps to Reproduce\r\n\r\nUsing Auctionator v5.0.5, in the Addon Settings (Which I am accessing through Interface->Addons on the in game menu) for Auctionator, the Basic Options menu there is a set of radio buttons labeled \"Default Auction Duration.\" Mine is currently set to 12 Hours, however when I visit the in-game Auction House and attempt to post an auction through the Sell tab the duration will instead be set to \"Custom\" and will prevent the auction being posted until I manually change it to either 12h, 24h, or 48h. I have also attempted to set the Auction setting default duration to \"None\" as well, and the issue still remains.\r\n\r\n## Loaded Addons\r\n\r\n!DetailedCloudsFix\r\n_NPCScan.Overlay\r\nACP\r\nAdvancedInterfaceOptions\r\nafkquit\r\nAHShowBid\r\nAskMrRobot\r\nAtlasLoot\r\nAuctionator\r\nAuctionPerUnit\r\nAzeroth Auto Pilot\r\nBagSync\r\nBonusRollPreview\r\nBoomerang\r\nBOPCraftConfirm\r\nCanIMogIt\r\nChatTabDockLock\r\n!ClassColors\r\nClassic Quest Log\r\nCleanBossButton\r\nCoolLine\r\nCoolLine-ICD\r\nDisableMapArrow\r\nDresser\r\nDying\r\nExtVendor\r\nFishingBuddy\r\nFoglight\r\nGTFO\r\nGuildMemberStatus\r\nGuildNews\r\nHandyNotes\r\nHandyNotes_BattleForAzerothAchievments\r\nHandyNotes_BattleForAzerothTreasures\r\nHandyNotes_FieldPhotographer\r\nHandyNotes_AzerothsTopTunes\r\nHandyNotes_CamelFigurines\r\nHandyNotes_Directions\r\nHandyNotes_DungeonLocations\r\nHandyNotes_LegionTreasures\r\nHandyNotes_PandariaTreasures\r\nHandyNotes_TimelessIsleChests\r\nHigher HotKey\r\nImprovedStableFrame\r\nInboxMailBag\r\nInstanceLockCompare\r\nInteractiveWormholes\r\nLargerMacroIconSelection\r\nLibStrataFix\r\nLookingForGroup\r\nLookingForGroup_Bindings\r\nLookingForGroup_Broker\r\nLookingForGroup_Event\r\nLookingForGroup_Hook\r\nLookingForGroup_Icon\r\nLookingForGroup_SF\r\nMailAttachmentCount\r\nMasterPlanA\r\nMikScrollingBattleText\r\nModelPique\r\nMogIt\r\nMolinari\r\nncHoverName\r\nncKillingBlow\r\nNPCScan\r\nPawn\r\nPersonalLootHelper\r\nPostal\r\nPGFinder\r\nSkadacfi\r\nRealmHopAssist\r\nRoutes\r\nZoneText\r\nSimulationcraft\r\nSkada\r\nSpeedyLoad\r\nStoryline\r\nStrataFix\r\nStupidBuffs2\r\nTheUndermineJournal\r\nTidyPlatesContinued\r\nTidyPlatesContinuedHub\r\nTidyPlatesContinuedWidgets\r\nTidyPlatesContinued_Alvara\r\nTidyPlatesContinued_Graphite\r\nTidyPlatesContinued_Grey\r\nTidyPlatesContinued_Neon\r\nTidyPlatesContinued_Quatre\r\nTidyPlatesContinued_Roth\r\nTidyPlatesContinued_Slim_Horizontal\r\nTidyPlatesContinued_Slim_Vertical\r\nTidyPlatesContinued_BlizzardPlates\r\nTidyPlatesContinued_ClassicPlates\r\nTidyPlatesContinued_Simple\r\nTidyPlatesContinued_Renaitre\r\nTomTom\r\nWeakAuras\r\nWhoWhisperedMe\r\nWorldFlightMap\r\n!WorldFlightMapLoader\r\nDejaCharacterStats\r\nTradeSkillMaster\r\nTradeSkillMaster_AppHelper\r\nAddOnSkins\r\nElvUI_ExtraDataTexts\r\nElvUI_PriestAoe\r\nElvUI_ActionBar_Panels\r\nElvUI_ChannelAlerts\r\nElvUI_CoolLine\r\nElvUI_Enhanced\r\nElvUI_EverySecondCounts\r\nElvUI_DataConfig\r\nElvUI_LocPlus\r\nElvUI_PushToActionBar\r\nElvUI_SystemDT\r\nElvUI_VisualAuraTimers\r\nElvUI_CustomTweaks\r\nElvUI_TB\r\nRETabBinder\r\niShadow\r\nElvUI\r\nDBM-Core\r\nDBM-Archaeology\r\nDBM-DefaultSkin\r\nDBM-SpellTimers\r\nDBM-StatusBarTimers\r\nChatTextures\r\n"},"comment":{"url":"https://api.github.com/repos/Auctionator/Auctionator/issues/comments/426100905","html_url":"https://github.com/Auctionator/Auctionator/issues/358#issuecomment-426100905","issue_url":"https://api.github.com/repos/Auctionator/Auctionator/issues/358","id":426100905,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjEwMDkwNQ==","user":{"login":"SacredDuckwhale","id":16489133,"node_id":"MDQ6VXNlcjE2NDg5MTMz","avatar_url":"https://avatars3.githubusercontent.com/u/16489133?v=4","gravatar_id":"","url":"https://api.github.com/users/SacredDuckwhale","html_url":"https://github.com/SacredDuckwhale","followers_url":"https://api.github.com/users/SacredDuckwhale/followers","following_url":"https://api.github.com/users/SacredDuckwhale/following{/other_user}","gists_url":"https://api.github.com/users/SacredDuckwhale/gists{/gist_id}","starred_url":"https://api.github.com/users/SacredDuckwhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SacredDuckwhale/subscriptions","organizations_url":"https://api.github.com/users/SacredDuckwhale/orgs","repos_url":"https://api.github.com/users/SacredDuckwhale/repos","events_url":"https://api.github.com/users/SacredDuckwhale/events{/privacy}","received_events_url":"https://api.github.com/users/SacredDuckwhale/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T23:51:23Z","updated_at":"2018-10-01T23:51:23Z","author_association":"NONE","body":"I've been encountering the same issue. ```AUCTIONATOR_DEF_DURATION``` is ```\"L\"``` - but the problem seems to be that the duration changes to \"Custom\" whenever an item is dragged into the Sell tab. Simultaneously, this Lua error is raised, twice for each time I drag the item there:\r\n\r\n```3177x Auctionator\\Auctionator-5.0.5.lua:3118: Usage: GetAuctionDeposit(runTime, minBid, buyoutPrice, [itemCount, numStacks])\r\n[C]: in function `GetAuctionDeposit'\r\nAuctionator\\Auctionator-5.0.5.lua:3118: in function `Atr_SetDepositText'\r\nAuctionator\\Auctionator-5.0.5.lua:4490: in function `func'\r\nFrameXML\\UIDropDownMenu.lua:935: in function `UIDropDownMenuButton_OnClick'\r\n[string \"*:OnClick\"]:1: in function <[string \"*:OnClick\"]:1>\r\n[C]: in function `Click'\r\nAuctionPerUnit\\AuctionPerUnit.lua:13: in function <AuctionPerUnit\\AuctionPerUnit.lua:10>\r\n[C]: in function `ClickAuctionSellItemButton'\r\nAuctionator\\Auctionator-5.0.5.lua:1456: in function `Atr_ClickAuctionSellItemButton'\r\nAuctionator\\Auctionator-5.0.5.lua:1482: in function <Auctionator\\Auctionator.lua:1479>\r\n\r\nLocals:\r\n(*temporary) = nil\r\n(*temporary) = 0\r\n(*temporary) = 0\r\n(*temporary) = 10\r\n(*temporary) = 12\r\n```\r\n\r\n```UIDropDownMenu_GetSelectedValue(Atr_Duration)``` returns ```nil``` while the dropdown menu is set to \"Custom\". Changing it to a valid value manually is possible, and a correct value will be returned, but as soon as the next item is dragged into the sell tab (even if it's the same item), the menu resets to the invalid/Custom option.\r\n\r\nSince I'm lazy and didn't want to spend more time troubleshooting this issue, I simply added this workaround to the bottom of the ```Atr_UpdateUI_SellPane``` function:\r\n\r\n```\r\n    if(not UIDropDownMenu_GetSelectedValue(_G[\"Atr_Duration\"])) then -- Duration has somehow reset (don't ask me why)...\r\n\tAuctionator.Debug.Message( 'Duration for Sell tab dropdown is invalid -> Resetting it...' )\r\n\tAtr_ResetDuration()\r\n  end\r\n```"}}
{"actor":{"display_login":"SacredDuckwhale"}}