gristlabs_grist-core/app/server
Dmitry S 30866c6c95 (core) Fix two issues combining to report misleading error when saving to an empty name
Summary:
1. The /import endpoint wasn't handling poor names like ".grist" as
   intended, instead trying to import them using the plugin-based imports.

2. The SaveCopy dialog was allowing users to save to an empty name,
   particularly bad because new docs now default to an empty name.

Error manifested as "Cannot parse data" to the user.
Reported in https://secure.helpscout.net/conversation/1242629116/292

Test Plan: Added tests for both parts of the fix.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D2573
2020-08-03 19:53:29 -04:00
..
lib (core) Fix two issues combining to report misleading error when saving to an empty name 2020-08-03 19:53:29 -04:00
declarations.d.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
devServerMain.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
mergedServerMain.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
serverMethods.js (core) move home server into core 2020-07-21 20:39:10 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00