Project

General

Profile

Actions

Bug #1072

closed

old particle picks witout label field in ApParticleData causes a php error when using web viewers

Added by Anchi Cheng about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Amber Herold
Category:
Web interface
Target version:
Start date:
12/08/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:

Description

Warning: Invalid argument supplied for foreach() in /home/acheng/site-packages/myami-trunk/myamiweb/inc/viewer.inc on line 1421

For example:
08sep16g

testing:
goto myamiweb/imageviewer.php and view the session.

Actions #1

Updated by Anchi Cheng about 14 years ago

r15125 checks for non-array and empty array first. This should go into the branch 2.1

Actions #2

Updated by Anchi Cheng about 14 years ago

  • Status changed from New to In Code Review
  • Assignee changed from Anchi Cheng to Amber Herold
  • Priority changed from Normal to Immediate

Amber,

Please review and test before Wednesday so that I can merge to branch 2.1 for UCLA visitor at that day.
Actions #3

Updated by Anchi Cheng about 14 years ago

  • Priority changed from Immediate to Normal

No need to hurry. They don't have old data. Sorry for the false alarm.

Actions #4

Updated by Amber Herold about 14 years ago

  • Status changed from In Code Review to Merge

Tested and reviewed, ready for merge.

Actions #5

Updated by Amber Herold about 14 years ago

  • Status changed from Merge to Closed
Actions

Also available in: Atom PDF