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

Update within group? #53

Closed
Hekili opened this issue Jan 8, 2019 · 2 comments
Closed

Update within group? #53

Hekili opened this issue Jan 8, 2019 · 2 comments

Comments

@Hekili
Copy link

Hekili commented Jan 8, 2019

https://i.imgur.com/dHNX4By.png

After clicking the update button on the "CursorCastbar" aura, I get this Lua error.

I'm pretty sure the whole group should update, not just those two children.

1x WeakAuras\Transmission.lua:1207: attempt to get length of field 'controlledChildren' (a nil value)
WeakAuras\Transmission.lua:1207: in function `MatchInfo'
WeakAuras\Transmission.lua:1727: in function `Import'
...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:759: in function <...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:756>

Locals:
data = <table> {
 controlledChildren = <table> {
 }
 borderBackdrop = "Blizzard Tooltip"
 xOffset = 0
 anchorPoint = "CENTER"
 borderColor = <table> {
 }
 url = "https://wago.io/4JwuYJfvG/7"
 actions = <table> {
 }
 triggers = <table> {
 }
 internalVersion = 10
 animation = <table> {
 }
 version = 7
 load = <table> {
 }
 backdropColor = <table> {
 }
 scale = 1
 border = false
 borderEdge = "None"
 regionType = "group"
 borderSize = 16
 expanded = false
 authorOptions = <table> {
 }
 borderOffset = 5
 semver = "1.0.0-7"
 config = <table> {
 }
 id = "CursorCastbarGrp"
 frameStrata = 5
 anchorFrameType = "MOUSE"
 borderInset = 11
 yOffset = 0
 conditions = <table> {
 }
 selfPoint = "BOTTOMLEFT"
}
children = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
}
target = <table> {
 user_y = 0
 user_x = 0
 color = <table> {
 }
 yOffset = 0
 foregroundColor = <table> {
 }
 desaturateBackground = false
 sameTexture = true
 url = "https://wago.io/4JwuYJfvG/7"
 actions = <table> {
 }
 triggers = <table> {
 }
 endAngle = 360
 internalVersion = 10
 animation = <table> {
 }
 stickyDuration = false
 rotation = 0
 font = "Friz Quadrata TT"
 version = 2
 height = 62.500000
 load = <table> {
 }
 authorOptions = <table> {
 }
 useAdjustededMax = false
 textureWrapMode = "CLAMP"
 startAngle = 0
 foregroundTexture = "Addons\WeakAuras\PowerAurasMedia\Auras\Aura73"
 conditions = <table> {
 }
 backgroundTexture = "Textures\SpellActivationOverlays\Eclipse_Sun"
 mirror = false
 useAdjustededMin = false
 crop = 0.400000
 xOffset = 0
 blendMode = "BLEND"
 backgroundColor = <table> {
 }
 uid = "qBfsXWGhXTh"
 slantMode = "INSIDE"
 anchorPoint = "CENTER"
 width = 62.500000
 alpha = 1
 crop_y = 0.410000
 desaturateForeground = false
 compress = false
 id = "CursorCastbar"
 fontSize = 12
 frameStrata = 1
 anchorFrameType = "SCREEN"
 regionType = "progresstexture"
 config = <table> {
 }
 inverse = false
 parent = "CursorCastbarGrp"
 orientation = "CLOCKWISE"
 crop_x = 0.410000
 selfPoint = "CENTER"
 backgroundOffset = 0
}
oldParent = <table> {
 user_y = 0
 user_x = 0
 color = <table> {
 }
 yOffset = 0
 foregroundColor = <table> {
 }
 desaturateBackground = false
 sameTexture = true
 url = "https://wago.io/4JwuYJfvG/7"
 actions = <table> {
 }
 triggers = <table> {
 }
 endAngle = 360
 internalVersion = 10
 animation = <table> {
 }
 stickyDuration = false
 rotation = 0
 font = "Friz Quadrata TT"
 version = 2
 height = 62.500000
 load = <table> {
 }
 authorOptions = <table> {
 }
 useAdjustededMax = false
 textureWrapMode = "CLAMP"
 startAngle = 0
 foregroundTexture = "Addons\WeakAuras\PowerAurasMedia\Auras\Aura73"
 conditions = <table> {
 }
 backgroundTexture = "Textures\SpellActivationOverlays\Eclipse_Sun"
 mirror = false
 useAdjustededMin = false
 crop = 0.400000
 xOffset = 0
 blendMode = "BLEND"
 backgroundColor = <table> {
 }
 uid = "qBfsXWGhXTh"
 slantMode = "INSIDE"
 anchorPoint = "CENTER"
 width = 62.500000
 alpha = 1
 crop_y = 0.410000
 desaturateForeground = false
 compress = false
 id = "CursorCastbar"
 fontSize = 12
 frameStrata = 1
 anchorFrameType = "SCREEN"
 regionType = "progresstexture"
 config = <table> {
 }
 inverse = false
 parent = "CursorCastbarGrp"
 orientation = "CLOCKWISE"
 crop_x = 0.410000
 selfPoint = "CENTER"
 backgroundOffset = 0
}
info = <table> {
 deleted = 0
 newData = <table> {
 }
 modified = 1
 added = 0
 indexMap = <table> {
 }
 unmodified = 0
 activeCategories = <table> {
 }
 diffs = <table> {
 }
 oldData = <table> {
 }
}
hybridTables = nil
(*temporary) = nil
(*temporary) = <table> {
 user_y = 0
 user_x = 0
 color = <table> {
 }
 yOffset = 0
 foregroundColor = <table> {
 }
 desaturateBackground = false
 sameTexture = true
 url = "https://wago.io/4JwuYJfvG/7"
 actions = <table> {
 }
 triggers = <table> {
 }
 endAngle = 360
 internalVersion = 10
 animation = <table> {
 }
 stickyDuration = false
 rotation = 0
 font = "Friz Quadrata TT"
 version = 2
 height = 62.500000
 load = <table> {
 }
 authorOptions = <table> {
 }
 useAdjustededMax = false
 textureWrapMo
@Hekili
Copy link
Author

Hekili commented Jan 8, 2019

WeakAuras.zip
data.zip

@mrbuds
Copy link
Contributor

mrbuds commented Jan 8, 2019

What happen here, is that Group "CursorCastbarGrp", "CursorCastTime" and "CursorCastTime" have their version field set to 7 which is the last version found by Companion.
"CursorCastbar" and "CursorGCD" have (for a reason i ignore) their version field set to 2, while their url shows version 7.
So Companion link the updated version only to those 2, and not the group.

The migration from 9 to 10 update version field only if version == nil and it seems to be a mistake.

@mrbuds mrbuds closed this as completed Jan 9, 2019
Stanzilla added a commit that referenced this issue Jan 22, 2019
…config-prettier-3.6.0

Bump eslint-config-prettier from 3.5.0 to 3.6.0
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

No branches or pull requests

2 participants