Hi, I've now test 6.x-2.5 on two seperate fresh installs on my local machine and a staging server and when submitting a status in the Activity stream (/stream) nothing happens with or without JavaScript enabled.
These are the errors showing up in Recent Log Entries
array_keys() expects parameter 1 to be array, null given in /profiles/drupal_commons/modules/contrib/rules/rules/rules.variables.inc on line 19.
Invalid argument supplied for foreach() in /profiles/drupal_commons/modules/contrib/rules/rules/rules.variables.inc on line 32.
Not sure if they relate or if it's a permissions issue.
Comments
Comment #1
ezra-g commentedThanks for this bug report.
This is an interesting case, because posting a simple status at /stream is literally the first thing our automated test suite checks for and the test has been passing. Sidenote: I'm working to source for those tests released so that folks can see and help contribute to them.
In any case, I'm able to reproduce this in an environment with PHP5.3, and I'm able to resolve it by clearing the site cache at admin/settings/performance.
Does that resolve the issue for you as well?
Of course that's not going to be the ultimate solution here -- it should work without a manual cache clear -- But this information would be helpful. Thanks!
Comment #2
epruett commentedI am seeing this same behavior for my development sites too.
Activity Stream Share and Share comments work.
Activity Stream Link and Photo do not display when saved.
I have tested this with fresh Drupal Commons 2.5 install
Tried Clearing Cache, Cleared Activity Log Cache and Regenerate Activity - did not fix.
Tried User/1 and Admin user level accounts - same errors.
Drupal Commons 2.3 Activity Stream does work fine for Share, Links and Photos.
Please do let me know if I can help to research and develop a solution for this problem.
THX!
Thanks to all your hard work on Drupal Commons too!
Comment #3
lightsurge commented@epruett might be helpful to know which browser(s) you were using?
Seeing different behaviours between browsers in this issue #1430006: Facebook status link & photo buttons do not appear in Internet Explorer
Comment #4
epruett commented@lightsurge this is an application level error that will be the same in all browsers.
Normally browser specific errors are related to JavaScript and CSS code inconsistencies.
Which is exactly why I recommend developing against all the modern browsers first and then dialing in the older browsers at the end of site development for testing prior to deploying the production site.
thx
Comment #5
ezra-g commentedI was able to resolve this issue for fresh installs by changing the manner and order in which we clear Activity log data when installing Commons.
It would be great to get some verification that this fixes the issue from another tester. I plan to commit shortly.
Comment #6
epruett commentedI applied this patch 1440860-commons-activity-log-fresh-install.patch prior to a fresh install of Commons 25.
Can post basic share and share comments.
Can not post links or photos - they do not enter the stream.
Comment #7
ezra-g commented@epruett - Did you clear the site cache?
Comment #8
ezra-g commentedAdding to 2.6 radar.
Comment #9
ezra-g commentedThis is committed: http://drupalcode.org/project/commons.git/commit/78408430f8bbd8143661488...
Comment #10
soulfroys@ezra, the links (or redirect) in the release notes pages (network.acquia.com) are wrong.
Comment #12
soulfroysThe links are still wrong.... :(
Comment #13
ezra-g commented@soulfroys Sorry about that - This is now fixed. Thanks!