Works with body fields and regular text fields, but it seems like Pathologic doesn't do anything with fields with long text type.

Comments

Garrett Albright’s picture

Is the content of the field being run through an input format which includes the Pathologic filter?

Garrett Albright’s picture

Status: Active » Closed (works as designed)

Closing pending more information.

mErilainen’s picture

Version: 7.x-2.0-beta4 » 7.x-2.1
Status: Closed (works as designed) » Active

I have this problem. I have only one text format called WYSIWYG which has the pathologic filter enabled. I have added the same link to two different text fields with a ckeditor. In the body field it works, but in the other field it is missing the "en" prefix (which will mean "page not found" error).

In the edit mode both fields have identical path "/node/6653". Disabling pathologic filter on the text format will make the link point to "/node/6653" so it works somehow.

Garrett Albright’s picture

The same question: Are you sure that the text field on which it is working is having its contents run through a format which includes the Pathologic filter?

mErilainen’s picture

Yes. I said I have only one format and it has Pathologic filter enabled.

Garrett Albright’s picture

Okay, and the content field is configured to process its text through the filtering system? Are other filters working on the field content correctly?

I ask because it doesn't make sense that Pathologic would work on a node's "body" field but not on another filtered content field on the same node, because the "body" field is itself just a filtered content field.

mErilainen’s picture

In the field settings I have Text processing ->Filtered text (user selects text format)
And the text format has only Convert line breaks into HTML and Correct URLs with Pathologic chosen.

So it works for default language, which is Finnish in my case, but when I switch to English, then the path won't get the en prefix -> "Page not found".

Garrett Albright’s picture

Is this still a problem given the multilingual improvements in later versions of Pathologic?