[Tiki-devel] Expected change of behaviour in Relation tracker field (all tracker fields)

Bernard Sfez via TikiWiki-devel <[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Hello,

Not being sure if it was intentional I’m asking the question here. (It may be related to something I reported before but not having look at the complex code of this I can’t really say)

It seems they were a change recently in the behaviour of tracker field relations depending on the condition of not being populated (has never had a value) and populated at least once (had or has a value).

I explain;
On a Tiki24 I have a tracker with relation tracker field.
When it has a value (relation with another tracker) the plugin list debug tool displays the following fields;

tracker_field_productsboughtPaymentId => "\ntrackeritem:6548"
tracker_field_productsboughtPaymentId_multi => Array (2)
  0 => ""
  1 => "trackeritem:6548"
tracker_field_productsboughtPaymentId_plain => "Completed ,March - bla bla "
tracker_field_productsboughtPaymentId_text => "Completed ,March - bla bla“

When it wasn’t never populated it displays only this:

tracker_field_productsboughtPaymentId_multi => Array (1)
  0 => “”

Is that expected to work this way from now on ?

Bernard

PS: I look at it because some conditions I had on such fields and were working (based on the value of “tracker_field_productsboughtPaymentId_text”) and it seems they are not working anymore.

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.