Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: importing a custom set xml with a dual faced layout fails #1614

Open
ebbit1q opened this issue May 15, 2022 · 0 comments
Open

Bug: importing a custom set xml with a dual faced layout fails #1614

ebbit1q opened this issue May 15, 2022 · 0 comments
Labels

Comments

@ebbit1q
Copy link
Contributor

ebbit1q commented May 15, 2022

Webpage: www.dr4ft.info

Browser: Mozilla Firefox 100.0


Background Information

commit ddd3a39

Detailed Description

uploading a custom set with a layout property that matches /^modal_dfc$|^doublefaced$|^transform$|^flip$|^meld$/i will fail with the message "cannot find scryfallId"
see /backend/import/toBoosterCard.js:76

Further Information

minimal example:

<?xml version="1.0" encoding="UTF-8"?>                                          
<cockatrice_carddatabase version="4">
  <sets>
    <set>
      <name>X</name>
    </set>
  </sets>
  <cards>
    <card>
      <name>TEST CARD PLEASE IGNORE 4</name>
      <set rarity="common">X</set>
      <prop>
        <layout>transform</layout>
      </prop>
    </card>
  </cards>
</cockatrice_carddatabase>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant