# Summary

Pathologic is an input filter which can correct paths in links and images in your Drupal content in situations which would otherwise cause them to “break;” for example, if the URL of the site changes, or the content was moved to a different server. Pathologic can also solve the problem of missing images and broken links in your site’s RSS feeds.

# Project URL

https://www.drupal.org/project/pathologic

# Where is the code?

https://www.drupal.org/node/2065287

# Estimated completion date

We should be able to have a full release in time for the D8 launch.

# Dependencies

Only an upgrade path from Pathologic 7.x-3.x will be supported, but we haven't made a full 7.x-3.x release yet. We should probably get on that. There are no dependencies on external modules, etc.

# Who's doing the port?

Lead dev Garrett Albright; trusty co-maintainer Berdir

# What help do they need?

Resources and info about the proper way to migrate a D7 input filter's configuration settings to D8 would be necessary to support a proper upgrade path. Last I checked, D8 core didn't have anything I could crib from, but it's certainly been a while.

# D8 roadmap

https://www.drupal.org/project/issues/pathologic?status=All&categories=1...

# Background and reference information

#2606976: Port Pathologic to Drupal 8 Please

Comments

mgifford created an issue. See original summary.

mgifford’s picture

Garrett Albright’s picture

Issue summary: View changes
webchick’s picture

Status: Active » Needs work

Since there is some code there (yay!), promoting this to "needs work" status.

mgifford’s picture

Garrett Albright’s picture

We missed the D8 release deadline. I still have not been able to figure out the upgrade process.

If there's anyone familiar with how upgrading of settings from D7 to D8 for filters should work and would allow me to pick their brains for a bit in IRC some time over the weekend, I'd greatly appreciate it. Heck, once I've got that working, maybe I can even do a D6 to D8 path…

Berdir’s picture

I'm not sure a pure config migration is really worth it, it is likely easier to just reconfigure things. I really wouldn't worry too much about that.

Especially since you can't just provide your own migration, you'd have to customize the core filter migration for it, no idea how that is supposed to work exactly.

The module is working fairly well, I think we should just release an alpha version.

Garrett Albright’s picture

Okay, let's do an alpha. Do you have permission to do that? If so, please feel free to do so. Otherwise, I'll probably do this over the weekend.

Berdir’s picture

I can't, doing it this weekend sounds good to me. Then you can set this issue to needs review and the blue box will stop lying ;)

badrange’s picture

I bet you guys were busy during the weekend in December :)
An Alpha version of the module would be nice..

heddn’s picture

Status: Needs work » Needs review

Any update on an alpha/beta release?

BryanSD’s picture

This is the one module needed before migrating one of my sites from Drupal 7 to Drupal 8? Anyone know the status? If not Pathologic, is there an alternative module that could be used?

smaz’s picture

@BryanSD You could use the Linkit module - it links to content using URIs, which are replaced with paths when rendered. In D7 linkit required Pathologic, but they've recently improved it so it's not required anymore.

rootwork’s picture

It'd be really nice to see an alpha or beta release of this module, at least as a marker to build on. It's been more than a year since there was supposed to be some kind of release.

An upgrade path from D7 is definitely important, and I can see it being a good reason to hold back a full release on D8. But there are brand new sites being released on D8 all the time now, and this can be plenty useful there, without needing the upgrade path.

Please release something :)

dercheffe’s picture

@smaz

You could use the Linkit module - it links to content using URIs, which are replaced with paths when rendered.

The Linkit module is IMHO good for node links but not for "hardcoded" links (e.g. links for images outside the "regular" drupal file storage. Pathologic gave me the opportunity to have two different Drupal base paths (one the development environment and one the production environment).

An upgrade path from D7 is definitely important, and I can see it being a good reason to hold back a full release on D8. But there are brand new sites being released on D8 all the time now, and this can be plenty useful there, without needing the upgrade path.

Please release something :)

Many modules are released for D8 although there is no upgrade path from D7 to D8 currently. So I 100% agree with @rootwork. There is nothing against a Beta/RC release for D8 of Pathologic, isn't it?

mmjvb’s picture

Status: Needs review » Needs work

With only a dev release Status should be Needs work.

MaskyS’s picture

Assigned: Unassigned » MaskyS

I had a look at the D8 codebase and it seems that things got a lot more complicated in the current 8.1x branch. I have some experience in porting filters(Thanks to the new documentation) so I'll give this a try by starting a port from scratch.

neclimdul’s picture

The current code looks pretty up to date with the 7.x-3.x branch With some documented "this works different in d8 and might need more work" sections. I'm going to test it out but I'm wondering if it works if we can just get an alpha/beta tagged and start fixing bugs as bugs. Easier to provide patches for bugs then fix it all at once.