Project

General

Profile

Actions

Bug #39217

closed

custom table doesn't work

Added by Jan no-lastname-given over 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Linkvalidator
Target version:
-
Start date:
2012-07-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

This is related to the bug described here http://bugs.typo3.org/view.php?id=17526. I can't find a new entry for that bug in forge so I asked myself: Is the described bug resolved or reviewed already?

I made the same experience with my own extension and also tried to validate links in the famous "news"-Extension (not tt_news). No luck so far.

TS-Config looks like this:

mod.linkvalidator {
    searchFields {
        tx_awprojects_domain_model_project = details,press_reviews
        tx_news_domain_model_news = bodytext
    }
}

If I look at "Info -> PageTS-Config" it shows me the same, so nothing is overwritten anywhere.

Reference Index is also ok; "Index Integrity was perfect!"
And I tried different orders for loading the extensions.

Any suggestions?

Typo3 4.7.2

Actions #1

Updated by Daniel Minder about 12 years ago

  • Status changed from New to Needs Feedback

For all fields that should be checked with linkvalidator there needs to be a softref definition in $TCA['columns'][field name]['config'] (see TCA core ref) since linkvalidator relies on the parsers of the T3 core to get the references contained in these fields.

I checked the bodytext of the tx_news_domain_model_news table - it has no softref definition!

Since I have the cal extension installed, which does not come with softref entries either, I performed an experiment. After adding the TSconfig entries missing links in the description of an event are still not detected. Then, I changed the TCA and added "'softref' => 'typolink_tag,images,email[subst],url'," to the config array (this is how e.g. bodytext of tt_content is configured). And now, linkvalidator reported the missing link.

Thus, please check your own extension if it works after you defined softref. And if a softref definition is missing at third-party extensions please report the bug there.

Actions #2

Updated by Michael Stucki almost 11 years ago

  • Category set to Linkvalidator
Actions #3

Updated by Michael Stucki almost 11 years ago

  • Project changed from 1510 to TYPO3 Core
  • Category changed from Linkvalidator to Linkvalidator
Actions #4

Updated by Alexander Opitz over 10 years ago

  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.1.7)?

Actions #5

Updated by Alexander Opitz about 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions #6

Updated by Bernhard Kraft over 9 years ago

It seems like LinkValidator only checks fields which have the "softref" TCA configuration option set.

This is even not the case with the field "pages:media" which is configured by default with the pages TS-Config shipped with linkvalidator. The field "pages:media" did neither have a "softref" attribute in 4.5 (pre FAL) nor in 6.2 autogenerated configuration for FAL fields

https://git.typo3.org/Packages/TYPO3.CMS.git/blob/refs/heads/TYPO3_4-5:/t3lib/stddb/tbl_pages.php#l600

So we have a linkvalidator now - but what is missing now would be a "tcavalidator" for validating the TCA is working with linkvalidator and every link field has a softref attribute :)

Actions

Also available in: Atom PDF