I am trying to do the db updates on worktracker and keep getting the following error:

oa_worktracker module

Update #7001
Failed: EntityMalformedException: Missing bundle property on entity of type taxonomy_term. in entity_extract_ids() (line 7695 of C:\xampp\htdocs\PhaseIIBuild2\includes\common.inc).

I have rooted around and have been unable to determine the issue. Updating from Drush does not work either. right now Atrium 2.04 has a major issue and am not sure if this has something to do with it.

Comments

dsnopek’s picture

What version of Open Atrium and Work Tracker are you updating from? If it's running oa_worktracker_update_7001() then they must be rather old. I've only tested the upgrades going from each version to the next - not making such a big jump like that.

Here are some ideas to work around this:

  1. Comment out oa_worktracker_update_7001() in the oa_worktracker.install file and see if it'll complete the rest of the updates, or
  2. Completely uninstall oa_worktracker, finish the Open Atrium upgrade, and then reinstall oa_worktracker. Since all the data is stored in nodes and fields, it shouldn't get removed when uninstalling, but definitely make a backup first before trying this

Please let me know about the versions and if one of those options works!

hollyfox’s picture

OK dsnopek, thank you for the response. I ran 7001 after updating the database tables with the terms that the install was inserting (before reading your reply) and this did not work. So I commented out 7001 and 2-3 ran fine. Now I am on 7004 and it appears that Atrium did not install the comment_ref table as I get a PDO Exception error. I am going to take a look at the Atrium install and see what is going on. I know that Mike is working on an issue with 7x-2.04 right now so I am also waitng to see if I can get his revised commit to see if it will resolve some of these issues.

hollyfox’s picture

FYI - I am going from 7.x-1.0-alpha2 to 7.x-2.0-beta3 according to the info files.

hollyfox’s picture

I have determined that the reason for to PDO exception is that the ao_worktracker_comment_ref table is non-existent because I have no comment content in worktracker. I deleted it all before updating. so, I commented the routine out in hopes of doing the final 7005 and 7201 routines.

hollyfox’s picture

OK, I seem to be updated on worktracker. My only problem now is that it would appear that I have no ability to manage the fields or the display. Was it locked down somehow, or did something get disabled?

dsnopek’s picture

Status: Active » Fixed

Nothing was locked down - we use the same admin screens to develop Work Tracker. Maybe you don't have the 'field_ui' module enabled on your site?

Marking 'fixed' because the original problem was solved.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.