After installing, I start to enable each item ... and I would ignore enabling the deprecated items ... However, when I go to save, it tells me that several items are dependent on these two. So I had no choice but to say okay to enable them.

When I click on status report, these 2 messages are listed below:

Warning
PM Issue Enabled
PM Issue have been deprecated in favour of PM Issue.
There are no PM Issue nodes in the system, You can disable this module.

Warning
PM Task Enabled
PM Task have been deprecated in favour of PM Issue.
There are no PM Task nodes in the system, You can disable this module.

I'm confused ... what do I do now?

Comments

d34dman’s picture

Assigned: Unassigned » d34dman

Sorry these are false positives, will fix them. It shouldn't happen in new installation.

d34dman’s picture

Status: Active » Needs review
StatusFileSize
new6.85 KB

Could you please apply this patch and check if it solves the issue?

kebz’s picture

Hi!

I applied the patch

While "disabling" PM Task and Ticket ... these are the messages that pop-up above:

Nodes of type "Ticket" have not been deleted on disabling Project Management Ticket. Please note that they will now have reduced functionality, and will not be protected by Project Management Ticket access controls.

Nodes of type "Task" have not been deleted on disabling Project Management Task. Please note that they will now have reduced functionality, and will not be protected by Project Management Task access controls.

Also, in order to disable PM Task, I had to disable PM Gant ... and while trying to re-enable PM Gantt ... it is giving me this message:

You must enable the PM Task (Deprecated) module to install PM Gantt.
Would you like to continue with the above?

I am unable to uninstall PM Task

The good news is that both warning messages inside the status report is gone.
Bad news ... I can't enable PM Gantt without enabling PM Task =\ ... lol

Thank you for your prompt and quick response. =)

d34dman’s picture

While "disabling" PM Task and Ticket ... these are the messages that pop-up above:

That is normal.

Also, in order to disable PM Task, I had to disable PM Gant ... and while trying to re-enable PM Gantt ... it is giving me this message:

PM Gant is a separate project, i have created a issue over there for fixing it (#2416945: Unlink from PM Task and use PM Issue instead).

So seems like the patch solves the issue. Can you please confirm on a fresh install?

kebz’s picture

Good morning @D34dMan!

Here's my steps ...

  1. Disabled PM
  2. Uninstalled PM, Gantt, Invoice
  3. Deleted/Removed directories under /sites/all/modules ...
  4. Did a "fresh" re-install of 7.x-2.x-dev
  5. I applied the patch file you gave earlier
  6. Enabled all PM modules
  7. .. then I got this ERROR message below:

    Error messageFieldException: Attempt to create field name pm_billing_status which already exists and is active. in field_create_field() (line 85 of /homepages/35/d416316353/htdocs/WPG/modules/field/field.crud.inc).
    The website encountered an unexpected error. Please try again later.

  8. I clicked the BACK ARROW
  9. It started re-processing and all modules are now enabled.
  10. Status report is "green" since it didn't force me to enable the two deprecated modules

okay... I think that's all for now ... right? lol ... What's next?

d34dman’s picture

Seems like the original issue has been fixed by the patch. The error that you get is a side effect of another problem. it would be fixed when #2358051: Ensure all fields are removed on uninstall would be fixed.

Thanks for testing would commit the patch.

  • D34dMan committed 0934253 on 7.x-2.x
    Issue #2416133 by Kebz: Adjusting pmtimetracking field...
  • D34dMan committed 0c3f4cb on 7.x-2.x
    Issue #2416133 by Kebz: Adjusting pmexpense test to use pmissue instead...
  • D34dMan committed 4b76f84 on 7.x-2.x
    Issue #2416133 by Kebz: Adjusting pmnote test to use pmissue instead of...
  • D34dMan committed 8edcf97 on 7.x-2.x
    Issue #2416133 by Kebz: Removing dependencies to deprecated Task and...
  • D34dMan committed c49ee46 on 7.x-2.x
    Issue #2416133 by Kebz: Adjusting pmnote field pmnote_parent to replace...
  • D34dMan committed ec81c52 on 7.x-2.x
    Issue #2416133 by Kebz: Adjusting pmtimetracking test to use pmissue...
  • D34dMan committed f4346fd on 7.x-2.x
    Issue #2416133 by Kebz: Adjusting pmexpense field pmexpense_parent to...
d34dman’s picture

Status: Needs review » Closed (fixed)

Fixed in latest commits.

kebz’s picture

Thanks @D34dMan!

I posted something similar for PM Gantt

Status: Closed (fixed) » Needs work

The last submitted patch, 2: issue-2416133-deprecated-items-fix.patch, failed testing.

juliangb’s picture

Status: Needs work » Closed (fixed)

Test bot has only just tested the patch as 7.x-2.x tests that were failing now pass.