Port PM to Drupal 8 | 9

Created on 11 March 2014, over 10 years ago
Updated 19 January 2023, almost 2 years ago

Drupal 8 is now approaching completion, so we should start to plan for porting PM to Drupal 8.

Here is a first draft roadmap:
1. Check that all current dependencies are available in Drupal 8, and wait if necessary.
2. Open a new major version for the Drupal 7 version of PM, and complete issues marked for this version. This is mainly removal of legacy functionality and so should simplify the port.
3. Do the actual port. Stop other development so that it gets done. Start D8 with a version named 1.x, based on the latest D7 version at the time.
4. Alpha, beta, rc, etc.

We will update this issue summary with the latest plan as it develops. Please follow this issue for updates.

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom juliangb

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡©πŸ‡ͺGermany D34dMan Hamburg

    @pfolk,

    Thanks for sharing the links. I had the opportunity to try out few of PM tools myself in the past year. The more I think about this, it feels like Drupal PM module could take an API first approach and have two modes. One, using gin admin theme where we do the most of "form oriented" operations and another with a decoupled frontend where we can have various views for our data... Gantt, Hierarchy list, Calendar, etc with basic operations to re-arrange them and change date. Going API first would allow for standard way of representing and handling the data which can be manipulated using various JavaScript library.

    Making it API doesn't mean it is only available via API, but this is what I have in mind,

    - we don't do any special "form validation", instead we put the constraints or validations on entities and bundle.
    - we won't do any route based access, instead we implement Entity and Field access.
    - Avoid dependencies on anything other than Drupal Core.
    - Keep support for adding entity bundles and fields to extend the functionality

  • πŸ‡©πŸ‡ͺGermany D34dMan Hamburg

    I have started pushing some code to 4.x branch, it is a rewrite from scratch. The focus is on getting base entity definitions correct and then build on top of it.

    @joseph.olstad, ATM, I have kept support for Drupal 10 only. Looks like by the time we have a release, Drupal 10 should be mature enough. Maybe if its not too much of a trouble, we can have a Drupal 9 support as well once it usable. (While developing, I would like to avoid bug report surrounding 9/10 compatibility).

    In parallel am also working on a decoupled UI for the project as well. This forces me to have a proper entity architecture to start with.

    The code in 4.x would be highly volatile and a clean install might be needed between upgrades. So not not not recommended for any proper usage and hence not creating a release to avoid hurting anybody.

  • πŸ‡©πŸ‡ͺGermany D34dMan Hamburg

    There would be a time when we bypass the feature set of burndown in 4.x. Until then, I am thinking of adding a link to https://www.drupal.org/project/burndown β†’ in the main project homepage to help users make informed decision. Any thoughts?

  • @D34dMan - Exciting! I will do what I can to help/support. Will spin up a D10 test installation and install it when I have time. In the mean time if there is something specific you need feel free to ask.

  • πŸ‡©πŸ‡ͺGermany D34dMan Hamburg
  • πŸ‡©πŸ‡ͺGermany D34dMan Hamburg

    As of today, 7.x branch will receive maintenance fixes only. All feature request against 7.x has been closed or moved to 4.x. The focus is now on Drupal 10 release (4.x). If you feel a closed issue is relevant for 4.x version of the project, please feel free to re-open and update the issue.

  • πŸ‡©πŸ‡ͺGermany D34dMan Hamburg

    Update:

    4.x-dev now has some basic entity structure in place. Am attaching a pdf 4.x-dev-20230227.pdf to give an idea where it is going. For now, am exclusively testing with gin admin theme β†’ .

    Previously, I had struggled with maintaining a demo site (the cost was just few hundred euro per year, but the time and effort to maintain it was distracting me a lot). Am open to ideas on how we can make this affordable and sustainable.

  • πŸ‡©πŸ‡ͺGermany D34dMan Hamburg

    Attached wrong pdf in the previous comment... here we go.

  • πŸ‡¨πŸ‡¦Canada francewhoa Sept-Îles, QuΓ©bec, πŸ‡¨πŸ‡¦

    For those interested in contributing to adding or using a Kanban board for Drupal PM (Project Management), I suggest we use this dedicated other PM ticket for Drupal 10 at https://www.drupal.org/project/pm/issues/3232552 ✨ Kanban Board Active

  • πŸ‡¨πŸ‡¦Canada francewhoa Sept-Îles, QuΓ©bec, πŸ‡¨πŸ‡¦

    For those interested in contributing to adding or using a Sprints and Backlogs for Drupal PM (Project Management), I suggest we use this dedicated other PM ticket for Drupal 10 at https://www.drupal.org/project/pm/issues/607712 ✨ Sprints and Backlogs Postponed

  • πŸ‡¨πŸ‡¦Canada francewhoa Sept-Îles, QuΓ©bec, πŸ‡¨πŸ‡¦
  • πŸ‡ΊπŸ‡ΈUnited States schlabach4@icloud.com

    Have there been any updates to this project since comment #31? I have been looking at this module for a while, and have been unsuccessful in installing it on a Drupal 10.3.6 site. It ends up crashing the site each time it is activated, I've been looking at logs but haven't been able to track down the issue.

  • πŸ‡©πŸ‡ͺGermany D34dMan Hamburg

    > Have there been any updates to this project since comment #31?

    Yes,

    - Rest API endpoints were developed along with a Demo application to test waters https://www.drupal.org/project/pm/issues/3346207 🌱 Decoupled App for Drupal PM Needs review

    > It ends up crashing the site each time it is activated, I've been looking at logs but haven't been able to track down the issue.
    I will try to install it and check... maybe i can add some basic test coverage to check that.

  • πŸ‡ΊπŸ‡ΈUnited States schlabach4@icloud.com

    Installing and uninstalling shows the following in the recent log messages.

    Error: Maximum call stack size of 8339456 bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached. Infinite recursion? in serialize() (line 827 of /var/www/drupal10/web/core/lib/Drupal/Core/Menu/MenuTreeStorage.php).

    The operations section shows a 78,028 count list with the majority of the lines being this, repeating.

    #77962 [internal function]: Drupal\system\Access\SystemAdminMenuBlockAccessCheck->access()
    #77963 /var/www/drupal10/web/core/lib/Drupal/Core/Access/AccessManager.php(160): call_user_func_array()
    #77964 /var/www/drupal10/web/core/lib/Drupal/Core/Access/AccessManager.php(136): Drupal\Core\Access\AccessManager->performCheck()
    #77965 /var/www/drupal10/web/core/lib/Drupal/Core/Access/AccessManager.php(93): Drupal\Core\Access\AccessManager->check()
    #77966 /var/www/drupal10/web/core/modules/system/src/Access/SystemAdminMenuBlockAccessCheck.php(106): Drupal\Core\Access\AccessManager->checkNamedRoute()
    #77967 /var/www/drupal10/web/core/modules/system/src/Access/SystemAdminMenuBlockAccessCheck.php(79): Drupal\system\Access\SystemAdminMenuBlockAccessCheck->hasAccessToChildMenuItems()

  • πŸ‡©πŸ‡ͺGermany D34dMan Hamburg

    @a13x.15 thanks for the detailed report,

    Am creating a followup issue to track the installation issue over here πŸ› Installing PM on Drupal 10.3 leads to crashes Active

  • πŸ‡ΊπŸ‡ΈUnited States schlabach4@icloud.com

    After grabbing the latest twig version along with the last 4.1.x-dev I've gotten it to install properly

Production build 0.71.5 2024