[validation] Validation must fetch data it needs despite optimizations ----------------------------------------------------------------------
Key: LABS-469 URL: https://issues.apache.org/jira/browse/LABS-469 Project: Labs Issue Type: Bug Components: Magma Affects Versions: Current Reporter: Simone Gianni Assignee: Simone Gianni Priority: Critical Fix For: Current There has been an optimization to avoid triggering lazy fetching of data from beans when manipulating fields. Before this optimization, the handler fetched all properties of a bean, potentially triggering tons of lazy loadings. Validation has been changed to honour this optimization, but we went a bit too deep in it so that validation is now reporting some required fields (those that are not simple types but beans) as missing even if they are there, simply to avoid fetching them. Until a better way to optimize it is found, validation should check if a field needs validation and then eventually fetch it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org For additional commands, e-mail: labs-h...@labs.apache.org