Support from Acquia helps fund testing for Drupal Acquia logo

Comments

catch’s picture

Issue tags: +Novice

Tagging as novice. See #1000282: $reset argument missing for comment_load[_multiple]() for how this was applied to comments.

karschsp’s picture

Assigned: Unassigned » karschsp
Status: Active » Needs review
FileSize
1.48 KB

Patch adds $reset parameter to file_load() and file_load_multiple().

marcingy’s picture

This looks good but needs a reroll after the file move.

marcingy’s picture

Status: Needs review » Needs work
chris.leversuch’s picture

Assigned: karschsp » chris.leversuch
Status: Needs work » Needs review
FileSize
1.5 KB

New patch with core folder

chris.leversuch’s picture

D7 version

Kevin Morse’s picture

This should apply to the latest version of D8

cweagans’s picture

Issue tags: +Needs backport to D7
Dave Reid’s picture

Issue tags: +sprint, +Media Initiative
jbrown’s picture

FileSize
1.55 KB

reroll

Status: Needs review » Needs work
Issue tags: -Novice, -Needs backport to D7, -sprint, -Media Initiative

The last submitted patch, file-reset-argument.patch, failed testing.

jbrown’s picture

Status: Needs work » Needs review
Issue tags: +Novice, +Needs backport to D7, +sprint, +Media Initiative

#10: file-reset-argument.patch queued for re-testing.

jbrown’s picture

jbrown’s picture

Title: No $reset argument for file_load()/file_load_multiple() » Enable static caching for File entities
Assigned: chris.leversuch » Unassigned
FileSize
4.38 KB

Status: Needs review » Needs work

The last submitted patch, enable-file-static-caching.patch, failed testing.

jbrown’s picture

Status: Needs work » Needs review
FileSize
4.43 KB

Status: Needs review » Needs work

The last submitted patch, enable-file-static-caching.patch, failed testing.

slashrsm’s picture

Status: Needs work » Needs review
FileSize
4.06 KB

This should pass. Hopefully...

jbrown’s picture

Thanks @slashrsm - this will need to be re-rolled when #1468328: Move file entity info, managed file, and file usage functionality into File module gets in.

jbrown’s picture

slashrsm’s picture

Status: Needs review » Needs work
Issue tags: +Novice, +Needs backport to D7, +sprint, +Media Initiative

The last submitted patch, enable-file-static-caching.patch, failed testing.

slashrsm’s picture

Status: Needs work » Needs review
FileSize
3.98 KB

Reroll.

Status: Needs review » Needs work

The last submitted patch, file_static_caching_1292374_22.patch, failed testing.

Berdir’s picture

The last patch is missing the part that actually removes the static cache flag from the entity definition (now an annotation)

Berdir’s picture

Status: Needs work » Needs review
FileSize
4.53 KB

Re-added that.

jbrown’s picture

Status: Needs review » Reviewed & tested by the community

Looks good!

fago’s picture

I agree, patch looks good and makes sense.

slashrsm’s picture

Agree with @jbrown and @fago.

Dave Reid’s picture

Agreed this is ready to fly.

catch’s picture

Status: Reviewed & tested by the community » Fixed

Yep. Committed/pushed to 8.x, thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.

fortis’s picture

Issue summary: View changes