Bug: $meta->find() only seems to work for FIELD and FILEATTACHMENT
I was just talking to some of the crew in IRC and they recommended i post a bug for this, so i'll copy my support question into here ...
So i'm well versed with creating new meta data in my plugins and have had good success doing this. However i now was hoping to create some new metadata similar to the way the META:FIELD data works.
With the META:FIELD type you can have multiple instances of it and return all of them. eg.
%META:FIELD{name="one" value="1"}%
%META:FIELD{name="two" value="2"}%
%META:FIELD{name="three" value="3"}%
Unfortunately it seems that this type of behaviour is only possible with the FIELD and FILEATTACHMENT meta data type as whenever i try it with any other name such as META:BASELINE (my desired one) it doesn't work. My $meta->find() call only returns an array of length 1. I tried this with some of the other native twiki meta types as well just for curiosities sake to no avail as well.
I did some digging in meta.pm and such without much luck. I suspect it has less to do with the find() function and more to do with the readTopic() that extracts the meta data.
Anyways I was hoping someone could either a) give me a quick answer like "this is totally unsupported" or b) "you're smoking crack, all you have to do is this ... " smile or c) a push in the right direction.
Thanks,
Brent.
Test case
Environment
| TWiki version: |
TWikiRelease04Sep2004 |
| TWiki plugins: |
|
| Server OS: |
Windows Server 2003 |
| Web server: |
IIS6 |
| Perl version: |
|
| Client OS: |
|
| Web Browser: |
|
--
BrentTokarchuk - 11 Apr 2006
Impact and Available Solutions
Follow up
Fix record
Discussion