primaryKeyAttribute

0 views
Skip to first unread message

Emily Greenfest-Allen

unread,
Oct 3, 2011, 5:09:46 PM10/3/11
to strategies...@googlegroups.com
Hi-

With WDK 2.2 I am getting the following warning from the model parser:

2166 2011-10-03 17:07:28,718 [WARN ]
org.gusdb.wdk.model.AttributeField:163 - Invalid field macro in
attribute [primary_key] of [GeneRecordClasses.GeneRecordClass]: source_id

My primary key attribute is defined as follows:


<primaryKeyAttribute name="primary_key" displayName="Identifier">
<columnRef>source_id</columnRef>
<text>
<![CDATA[$$source_id$$]]>
</text>
</primaryKeyAttribute>

What am I missing or what is now invalid?

Thanks,

Emily

Jerric Gao

unread,
Oct 4, 2011, 8:49:14 AM10/4/11
to strategies...@googlegroups.com
Hi Emily,

The warning will go away if you define a "source_id" columnAttribute in one of
your attributeQueryRefs.

The warning is to report any unresolved attribute macro that are referenced in
textAttribute, linkAttribute, or primaryKeyAttribute.

Jerric

Emily Greenfest-Allen

unread,
Oct 4, 2011, 9:28:46 AM10/4/11
to strategies...@googlegroups.com
Thanks -E
Reply all
Reply to author
Forward
0 new messages