Even the latest Dev build breaks the patterns page at /admin/config/search/path/patterns. Also I can't bulk update the paths. The admin pages show no options. Interesting detail is, that NodeSymLinks adds options to this pages and they are still visible.

Comments

jose reyero’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

We are not touching that page (unless using multilingual, domain variables...). Please explain better.

Wolfgang Reszel’s picture

I'm using the following modules which depend on Variables:
Internationalization, String translation, Block languages, Translation sets, Multilingual content, Menu translation, Translation redirect, Synchronize translations, Variable store, Variable realm, Variable translation, Views translation, Webform Localization.

I don't know what could also be helpful.

jose reyero’s picture

If you use variable-dev you should use also i18n-dev.

Now if you could define better 'breaks' and 'I can't...' (what exactly happens, errors, etc..?) or provide screenshots..

Wolfgang Reszel’s picture

I tried the latest dev of pathauto, variables and i18n. It doesn't help. Here some screenshots with and without Dev version (only variables, the other remain Dev).

Wolfgang Reszel’s picture

The problem seems to be in variable_realm.module. As I got an PHP error with 1.2 which says the function "variable_realm_get_variable_list()" is missing I tried to replace variable_realm.module in 7.x-1.2 with the file from the latest dev. After clearing the cache the settings disappear from the patterns admin page.

Wolfgang Reszel’s picture

StatusFileSize
new3.49 KB

Hi,

I reverted some functions from Dev (May 16) to the functions from 7.x-1.2. It now works again, but I have to say that I don't know what I'm doing. ;-) I just tried to revert the code step by step until it works again (every time clearing the cache was necessary).

I reverted the following functions:
&variable_realm()
variable_realm_values()
variable_realm_build()
variable_realm_get()
variable_realm_status()
variable_realm_switch()

I've attached the fixed module. Btw. the new Dev from May 21 did not solve this issue.

jose reyero’s picture

There were some version issues, try with latest i18n-dev and variable-2.x

jose reyero’s picture

Status: Postponed (maintainer needs more info) » Fixed

It should be definitely fixed in latest version.

jdanthinne’s picture

Status: Fixed » Active

Bug is back with i18n-dev and variable-2.x.
As soon as I enable Variable Realm, /admin/config/search/path/patterns is empty and alias aren't generated correctly anymore.
I came from this issue : #1267966: Pathauto patterns are not showing up but I can't find any php outside of functions that could cause this bug…

attiks’s picture

variable_realm_boot and/or
variable_realm_init might be the reason, try enabling the module again, comment out the code inside those functions. Try loading the page again.

jdanthinne’s picture

Yes, but disabling those functions makes the module itself useless… so a better solution would be to find the Variable bug that triggers the Pathauto bug.

attiks’s picture

@jdanthinne i know it isn't a fix, was just to confirm where the problem is coming from, see #1267966: Pathauto patterns are not showing up for some background info

Wolfgang Reszel’s picture

Due to the dependencies (Pathauto, i18n Variable Translation) this issue is a real show ... eh ... update stopper. ;-)

Wolfgang Reszel’s picture

Version: 7.x-1.x-dev » 7.x-2.0
jdanthinne’s picture

I confirm that. Upgraded to latest stable version (Variable 7.x-2.0 and i18n 7.x-1.6), and Pathauto page is broken!

planctus’s picture

Same here with latest stable updates: Variable 7.x-2.0 and i18n 7.x-1.6
It was all pretty messy about this update, doing that with drush caused a blocking situation where one module was asking for the other's "updates" before it could be updated and fatal errors occurred for undefined functions.
I wouldn't expect to run into this issue with pathauto after fixing that...
Da.

dimitriseng’s picture

I also just updated to Variable 7.x-2.0 and i18n 7.x-1.6 and getting the same issue...

marktheshark’s picture

Same as #17.

Pls’s picture

Same problem as #17 for me too, would love to see some suggestions how to solve this problem. Thanks!

jose reyero’s picture

Status: Active » Closed (duplicate)
jose reyero’s picture

Thinking better, we should be fixing this on variable module as it may cause unexpected issues in other modules too.

See #1664154: Fix variable hooks invoked during bootstrap (Variable realm breaks pathauto)

gonz’s picture

It was Variable for me too - just wanted to share.

Has anyone tried the latest DEV of Variable?

planctus’s picture

yes, i did..and it fixed my issues..
Da.

fernando vesga’s picture

Well, i didn't work for me.

But this one did, http://drupal.org/node/1267966#comment-5797580. From Pathauto issues page