Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291177

Ensure that conditions work with no context available

$
0
0

Just clicking around today I noticed that the conditions don't work if you don't have any nodes.
I realize this is an edge case, but if people start mimicking core conditions, they'll hit more realistic bugs.

I'll check through other plugins to see if they need similar treatment.

AttachmentSizeStatusTest resultOperations
node-condition-FAIL.patch1007 bytesIdleFAILED: [[SimpleTest]]: [MySQL] 52,627 pass(es), 0 fail(s), and 1 exception(s).View details | Re-test
node-condition-PASS.patch1.7 KBIdlePASSED: [[SimpleTest]]: [MySQL] 52,613 pass(es).View details | Re-test

Viewing all articles
Browse latest Browse all 291177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>