Closed (fixed)
Project:
Project
Version:
7.x-2.0-alpha1
Component:
Views integration
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
19 Feb 2015 at 17:01 UTC
Updated:
8 Jun 2015 at 17:34 UTC
Jump to comment: Most recent
Comments
Comment #1
eabquina commentedFound out that this only happens when I turn on the project issue tracker module. Still testing if could be related to some Project Issue Tracker - Views set-up
Comment #2
eabquina commentedMoving to Project Issue Tracking after test that this only happens when it is activated.
1) Create a new Project while the Issue Tracker module is on
2) Error Appears as mentioned...
Comment #3
eabquina commentedUpdate:
As a workaround, I commented out line 67 project_plugin_argument_validate_project_type_term, I havent tested this thoroughly what will be the negative impact
For now I can start saving Project content with this...
Does anyone know if _project_get_vid is a deprecated function? (class project_plugin_argument_validate_project_type_term extends views_plugin_argument_validate)
Comment #4
drummYes,
_project_get_vid()is deprecated.In Drupal 6, project types were taxonomy. In Drupal 7 they are now separate node types. (Project type as in Module/Theme/Distribution on Drupal.org.)
Most sites will just have one node type used for projects, so commenting out is a decent short-term fix. It looks like the remaining calls to this can be removed from Views-related code and likely simplify them.
Comment #5
dwwWorking on this at the DrupalCon LA sprint.
Comment #6
dwwActually, all of this is from legacy views support in Project module itself that was never fully ported to D7.
Comment #8
dwwI pushed a commit that rips out a ton of deprecated and useless code. I also started fixing the default project_overview view that we ship for sites not using project_solr and friends for project browsing.
Comment #10
eabquina commentedThanks a lot! Looks good!