Menu Prefilter: date format unknown for {$my->id} replacing with today's date

pastvne

Bruce Decker
Hi All,
I'm on Fabrik 4.0 standard.
I am migrating a site from J3. Most things are working but noticed that I have a menu that points at a list with the following Prefilter defined within the menu (not the list).
- OR
Element=Subscriber ID(raw)
Condition=EQUALS
Value {$my->id}

When I have this defined in the menu, I get the error shows in the title as a message at the top of the list display.
If I remove the pre-filter from the menu, the message goes away,
I am going to move the prefilter from the menu to the list itself to see if the same error appears.
will report as I make progress.

Update Tested by moving the 'prefilter' definition from the menu to the list and it works without issue. Moving it back to the menu, and the issue reappears.
 
Strange.
This is a message coming from a date or jdate element (only if JDEBUG is on)
But I can't replicate.

Can you try to create a new menu item with the same settings? Maybe the old F3 updated one is not "clean".
How is the menu link looking like?
1707816762927.png
 
Hi Troester,
Here is the definition of the offending menu. I should have some time later today to try your suggestion and report back.

1707836005204.png
 
I re-tested by:
1) Repurposing a previously defined in J3 unused menu -- same result
2) A brand new menu defined for the first time on J4/F4 -- same result

This list does have two 'date' (not jDate) elements.

If I unpublished the standard date_time element, the error goes away.

If I change the two 'date' elements to 'jdate' the error persists.

This is a 'copied' list and the date_time element is still 'linked' to the other list.

I could attempt to 'unlink' them if you think that would help.
 
Also tested:
Joomla Debug System = On -> Shows that warning
Joomla Debug System = Off -> No warning.

I also scrutinized the fabrikdebug=1 query results and it appears that {$my->id} is being expanded into the proper user id. I didn't look through every result set, but I'll do some more testing to make sure the final query is properly expanded.
 
It seems it does't replace {$my->id} if you are not logged in (same with menu prefilter and list prefilter)
1707984062294.png

1707984135244.png

which is not the case in F3. It should be 0 in this case also in F4.

But this doesn't explain why it's affecting the date element in your case.

So the created queries (menu/list prefilte, logged in and not logged in) would be interesting.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top