What's new

Welcome to NullScriptz - NulledScriptz

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Latest Thread

Share your content here:

Don't want to upload to our server on NullScriptz, Then share it now on our partner shareupld.com! Upload for free or take a subscription to be sure your files are save !

Knowledge Base

We are building our knowledge-base, find your answers! Or get directly in contact with us by creating a ticket. (In progress..)

  • NullScriptz.nl is for SALE!

    More information, please contact: WinSys32 or mail to: nullscriptzsale@gmail.com

    Buy-Now: $3.000,00
    +/- Unique visitors (Monthly): 10.000+ (Now lower due to inactivity of me) | Average income (Monthly): €100 - €500 + Domain + Server and all files and databases.

[RSS Feed/News] Entity relationships do not (always) validate 'primary' flag is accurate and may not hit the entity cache

NS Bot

Moderator
Staff member
LV
0
 
Joined
Mar 31, 2020
Messages
18,889
Reaction score
131
Points
63
Awards
2
Website
nullscriptz.nl
Country flag
When 'primary' is set on a relationship, XF\Mvc\Entity\Manager::getRelation parses the condition into a key-value set to lookup by primary key the linked entity.

This has the following issues:
  • When this key-value has 1 entry, Finder::find => Finder::whereId do not validate this is a known primary key column (they only do this for an array).
  • For multi-column primary keys, the order is dependant on the list of conditions and not the primary key as defined in the...



 

Birthdays

Latest resources

Top Bottom