When creating a new platform, the
"Path: /var/aegir/platforms/ [Edit]" line is missing.

It pops up only after you start typing the platform name.

It didn't occurred to me I had to start typing the name first - that might look like a bug for somebody upgrading from v.1

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

anarcat’s picture

Project: Hosting » Hosting Platform Pathauto
Version: 6.x-2.0-rc4 » 6.x-2.0-beta2
Priority: Minor » Critical

moving to the right project, but i also added this as a blocker to #2023113: [meta] 2.0 release.

chertzog’s picture

could we just add a "#field_prefix" => t('Machine Path') to the field. This would indicate that there is something there, and would appear once something was entered.

helmo’s picture

Status: Active » Needs review
FileSize
1.3 KB

@chertzog: I guess you meant suffix instead of prefix... but that did not work properly for me.

Here's a patch to change the JS

ergonlogic’s picture

Status: Needs review » Needs work

So, I think the intention is to print Path: /var/aegir/platforms/ [Edit] when we load the page, and not wait for the first key press. Unfortunantely, the patch in #3 doesn't work for me.

ergonlogic’s picture

Version: 6.x-2.0-beta2 » 6.x-2.x-dev
Status: Needs work » Fixed

Actually, on further testing, the patch in #3 works perfectly. So I committed it on helmo's behalf.

Fixed in 3844a59.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

  • Commit 3844a59 on 6.x-2.x, 7.x-2.x authored by helmo:
    Issue #2097665 by helmo: Fix path input box missing.