Skip to content

Import of fields / templates fails without error message #1163

@WebWorkingMan

Description

@WebWorkingMan

Import not working

When you try to import fields or templates this will not work under certain circumstances.

Expected behavior

See here: https://processwire.com/talk/topic/23515-import-of-fields-fails-without-error/

I'm trying to import some fields to a mirrored PW site with same version (3.0.153). The import stops without any error message.

Actual behavior

Fields are not imported. See attached video.

Optional: Screenshots/Links that demonstrate the issue

https://s3.us-west-2.amazonaws.com/processwire-forums/monthly_2020_04/import_fields_fails.mp4.f25d9911bcc3e44d6fbe05b5ebca3866.mp4

Optional: Suggestion for a possible fix

I figured out, that this only happens, when the last trailing slash " / " is not present.

At least there should be a error message or better just work without the trailing slash.

Steps to reproduce the issue

  1. try to import a field via /cms/setup/field/import
  2. Make sure to to forget trailing slash

Setup/Environment

ProcessWire 3.0.153 dev © 2020 and earlier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions