Comment 1 for bug 194839

Revision history for this message
Chris Carey (chris-carey) wrote :

The problem that is occuring here is that in the tree view of competencies, the widget for displaying the competency's global id is failing, because the competency doesn't have a global id. The current patch I did was simply not displaying the global id widget in virginiacompetencytreenode.pt. When global ids are set, this can be removed. However, I'm not committing yet unless this is approved.

In VirginiaCompetency, globalId=None by default. I'm not familiar with how global ids are set, but there either needs to be a better default than None, or a check to see if the competency's global id is None or not. At the page template level, I can't check whether the competency has a global id or not.

If someone knows how/where I can perform this check, please let me know.