oRA2

5 - Please use label for the label, and not text.

local ldb = LibStub("LibDataBroker-1.1"):NewDataObject("oRA2", {
    type = "data source",
    label = "oRA2",
    icon = "Interface\\AddOns\\oRA2\\Icons\\core_enabled",
})

notice that it should be label = "oRA2" and not text = "oRA2".  Using text makes it look like its working but in fact it is not obeying the spec and making it so the "label" can not be made to go away because hiding "text" would make actual output from other broker objects go away thus defeating the whole point of having them.

There is a whole discussion in the broker thread on this as well.

User When Change
Azethoth Wed, 21 Jan 2009 05:21:27 Changed status from New to Invalid
Azethoth Thu, 04 Dec 2008 08:52:54 Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of Azethoth Azethoth Wed, 21 Jan 2009 05:20:49

    Ninja fixed it.

  • 1 comment

Facts

Last updated on
21 Jan 2009
Reported on
04 Dec 2008
Status
Invalid - This was not a valid report.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.

Reported by

Possible assignees