After speaking with Dieuwe about porting this module to Drupal 8, I am creating this issue to track the work for this. I have generated a patch based on the work I've done so far and attached it here to provide a starting point to help get this module ported to Drupal 8.

It's not a complete working upgrade, but it's starting to work (module installs in Drupal 8 beta2, the node's weight is updated in the taxonomy_index table, etc), but some functionality (Views sort handler, node links) aren't yet working. It also includes a upgrade-info.html file which was auto-generated from Drupal Module Upgrader to create a report of module hooks

I will continue to try to port this module as time permits, starting with the Views plugin for the sort handler. Any input, direction, or comment is greatly appreciated.

-Tobby

Comments

  • dieuwe committed 9214e39 on 8.x-1.x authored by tobby
    Issue #2368845 by tobby and dieuwe: Initial commit for Drupal 8 port.
    
dieuwe’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Status: Active » Needs work

Drupal 8 branch now exists and all future patches can be made against that.

Thanks for all your work so far :)

tobby’s picture

StatusFileSize
new25.32 KB

I've included a new patch that applies against the 8.x-1.x branch. I missed a few files the last time I created a patch, so this covers all of those (.yml files, additional directories, etc) and at least lets the module get successfully enabled now.

jhedstrom’s picture

Status: Needs work » Needs review
StatusFileSize
new29.3 KB
new43.52 KB

This patch adds views support and gets menu links working among other small tweaks.

jhedstrom’s picture

StatusFileSize
new19.16 KB
new57.54 KB

This patch adds:

  • Simpletests
  • Fix to changed logic in presave/update that was causing orders in terms to be re-arranged if a node was removed from a different term (test coverage included)
  • Changes to keep up with 8.x HEAD
dieuwe’s picture

Can you confirm that the last patch should be applied to the 8.x branch? Or should each of the last 3 submitted patches be applied sequentially?

jhedstrom’s picture

The patch in #5 is against the current 8.x branch, no need to apply the others as they are included.

jhedstrom’s picture

StatusFileSize
new562 bytes
new57.4 KB

Here's a small fix to the admin form. This patch is directly against the 8.x branch.

jhedstrom’s picture

StatusFileSize
new7.87 KB
new54.72 KB

This resolves a php notice, removes some unused files, and starts towards overriding the term listing view (see https://www.drupal.org/node/2416129).

Patch is against 8.x branch.

  • dieuwe committed 6921f74 on 8.x-1.x authored by jhedstrom
    Issue #2368845 by jhedstrom, tobby: Port Node Order to Drupal 8
    
dieuwe’s picture

Status: Needs review » Needs work

Sorry for the late response here, I have committed the latest patch from #9.

I don't have a Drupal 8 instance to test with at the moment, so I'll rely on you guys to give me a status update.

jhedstrom’s picture

Status: Needs work » Fixed

Thanks @dieuwe! We're using this on an active project, and it seems to be working as intended. Marking this as fixed--if issues crop up, I'll open new ones to track those.

Status: Fixed » Closed (fixed)

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