I think we should switch to using EntityPublishedTrait

Comments

lukasss created an issue. See original summary.

lukasss’s picture

StatusFileSize
new10.11 KB
lukasss’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: 3194162--2.patch, failed testing. View results

lukasss’s picture

Status: Needs work » Needs review
StatusFileSize
new10.54 KB
lukasss’s picture

Assigned: lukasss » Unassigned
lukasss’s picture

StatusFileSize
new9.82 KB

some fix

lukasss’s picture

drugan’s picture

Status: Needs review » Reviewed & tested by the community

For me it works.

guy_schneerson’s picture

Thanks, @lukasss for the patch and @drugan for testing.
I will not have time to look at this today but in case it is not obvious can you give some more details about what issues your patch fixes. like what places we have duplicate code and what was removed.

lukasss’s picture

The patch replaces the custom isActive() and so on methods with a more understandable and more commonly used EntityPublishedTrait.

lukasss’s picture

StatusFileSize
new9.1 KB

Update for last dev version

lukasss’s picture

StatusFileSize
new9.67 KB

You also need to do the update process