Bug #53042

Preview should work on installation without vhost (with path in URL)

Added by Lukas Ciszewski almost 8 years ago. Updated over 7 years ago.

Status:
New
Priority:
Should have
Start date:
2013-10-22
Due date:
% Done:

0%

Estimated time:

Description

When clicking on the preview button a new window is opened with a wrong URI.
This happens because the TYPO3.FormBuilder.Configuration.endpoints address is
used with a '/' in front as the param to window.open. When on a development installation
without a vhost, and therefore a base href with a path, the path is ignored.

Possible solution:
  • make the address relative by removing the '/' in app.js:492
  • let TYPO3.FormBuilder.Utility.getUri() respect the base href in the html
#1

Updated by Christian Fries over 7 years ago

Lukas Ciszewski wrote:

When on a development installation without a vhost, and therefore a
base href with a path, the path is ignored.

Even when using FormBuilder on a dev installation with a vhost, the same error occurs.

Also available in: Atom PDF