When you create a platform, you might enter a bad platform path. You are not allowed to change it.

If a platform has not had a successful verify, you should be allowed to change the platform path in the Edit tab, right?

Comments

Jon Pugh created an issue. See original summary.

colan’s picture

Agreed. This has always driven me nuts, having to delete it (which usually doesn't even work from the Web UI), and then creating another one.

  • Jon Pugh committed 75f2af0 on 7.x-3.x
    Issue #2912515: Allow editing of Platform Path on unverified platforms:...

  • Jon Pugh committed 8e0e65a on 7.x-3.x
    Issue #2912515: Allow editing of Platform Path on unverified platforms:...
jon pugh’s picture

Status: Active » Fixed

Fixed! Looks like it was always a mistake. Code was checking !isset($node->makefile), trouble is $node->makefile is always set whether you have one or not.

Changed to empty() and works as expected.

colan’s picture

Very nice!

Status: Fixed » Closed (fixed)

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