Circular Keyword Reference(s) found


#1

Hey Guys,

 

I am attempting  to use some keyword replacement in my metadata fields to save on repetitive keywords and description input.

 

example -

 

Creative Regions Lab - Charles Sturt University -  Project - %asset_short_name%. Project authors include %metadata_field_Project_Team%

 

I get the following warning -

  • keywords
  • dc.description
  • description

 

Circular Keyword Reference(s) found

 

any idea what I am doing wrong?

 

be gentle :)


(Talk) #2

Hey mate, sorry if I’m on the wrong track, but are you just trying to print the frontend values of that field? If so, %asset_metadata_Project_Team% is the format for printing these. Mods and replacements can then be made to those values.

Is this any help?


#3

woo! that was quick. I tried %asset_metadata_Project_Team% as well and it was giving me no love. Sorry I should have said that as well. I will give it another whirl - CMS may just be temperamental this eve...

 

yep just tried it =( nooo luurve noo luuurvvvve


(Talk) #4

Step 1 in metadata keyword troubleshooting is case of characters. Is the field name definitely title case as you’re referencing it? Sometimes I have to triple check this! :slight_smile:


#5

ello there thanks so much for the help - especially so late as well!

 

Yep it is. I think it is because I also have another schema referencing these fields that's attached to the asset. I thought I would be able to reuse what was inputted in these fields to save some time

 

MySource Warning File:

			[SYSTEM_ROOT]/core/assets/metadata/metadata_section/metadata_section_edit_fns.inc
		
			Line:
		
			430
	
			Message:
		
			Cannot use asset_metadata_XXX keyword for metadata field value. Replacing asset_metadata_XXX keyword by metadata_field_XXX [SYS0344]
	
			Backtrace:
		
			<a>Show</a>

(Bart Banda) #6

Yea if you are referencing the value of another field in a different field output, you need to use the %metadata_field format like you have.

 

I'd be interested to see the error messages you get though as this:

 

I get the following warning -

  • keywords
  • dc.description
  • description

 

Doesn't look like a matrix error?


#7

Thanks Bart - I only get the warning when I use the metadata value in another field. The warnings I get is basically that I cannot use it .

I must be just missing something simple


(Bart Banda) #8

Can you paste the actual warning message that you get? Or screenshot it?

 

It's strange though, what type of metadata field is %metadata_field_Project_Team% ? 


#9

Thanks so much for your help bart =)

 

no matrix  mysource warning popped up when I did the assets individually rather than cascade - but the circular key warning still pops up Warning

			<img height="21" src="https://cms.csu.edu.au/__lib/web/images/section_icon.gif" width="27" alt="section_icon.gif">
	
			<a></a>
		
			<ul><li>keywords</li>
			</ul><span>Circular Keyword Reference(s) found</span>
	<p>&#160;<p>would I need to output the value rather than a field in a field

(Chiranjivi Upreti) #10

Looks like the metadata field keyword replacement you are using there is eventually referenced back to itself.

 

The "Circular Keyword Reference(s) found" warning is shown if a metadata field "A" references to another metadata field "B" that eventually references back to "A". For example following will give you such warning:

 

Example 1: Referencing itself

 

name: %metadata_field_name%

 

Example 2: Circular referencing through 2 or more fields

 

field_a: %metadata_field_field_b%

field_b: %metadata_field_field_c%

field_c: %metadata_field_field_a%

 

Can you show us your metadata screen for which you are getting this warning?