Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional uniqueInTable TCA Check #18

Closed
ghost opened this issue May 12, 2021 · 2 comments
Closed

Add additional uniqueInTable TCA Check #18

ghost opened this issue May 12, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented May 12, 2021

Hi, could you please add a check for "uniqueInTable"-TCA option in your SlugUtility.php? I think it should be a quick fix. I have the issue that the Extension will generate duplicated slugs in my tables, when I use the uniqueInTable configuration in my slug TCA config.

Thank you for your great tool :)

fwg added a commit to fwg/ig_slug that referenced this issue Jun 14, 2021
@ghost
Copy link

ghost commented Jun 14, 2021

I have the same problem at the moment. uniqueInSIte is unworkable in my situation, because records are displayed on multiple domains.

I wrote a fix for this and applied it with composer req cweagans/composer-patches and this extra-section in my composer.json:

"extra": {
  "patches": {
    "internetgalerie/ig-slug": {
      "add uniqueInTable slug check": "https://github.com/faltrock-abone/ig_slug/commit/9d7713f0060faefcf37ce327604b8a935823ec23.patch"
    }
  }
}

(I needed to do composer install twice for the patch to be applied.)

@ghost
Copy link

ghost commented Jun 14, 2021

Would be fixed with #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant