-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature/branding image. Closes #774 #829
Conversation
Tested and works. |
PR looks good! Agreed with @jykae about migration tool. |
I am testing out a possible migration. This is still work-in-progress. |
I have tried several times to migrate files from the ProjectLogo FS Collection to the BrandingFiles FS Collection with no success. I opened a support request to see if there is a clear way to migrate files between FS Collections. There are at least two other support requests and one documentation file that hints at a possible solution: |
I have also opened a related bug report with yogiben:autoform-file, with regards to the file ID not being stored in the branding document. I recommend that we deprecate the yogiben:autoform-file from our project, if this issue is not addressed soon. |
Tested by having existing uploaded images, had to upload images for new collection. I think we could just drop the old collections manually then. Migration path for this seemed quite hard. Though I think tempstore should be cleared after saving the file to actual collection, Meteor-Community-Packages/Meteor-CollectionFS#415 |
Exceptions should be catched:
|
One regression actually: We had preview image working previously, now it requires page refresh.. |
I would like to have a chat with you @brylie about this PR? I think this is currently quite minor improvement. If we take this to next release manual dropping of old collections has to be marked down. Making migrations for this is probably too difficult. Let's try to avoid this kind of situations if customer installation base grows. |
@jykae how can we avoid this type of situation going forward? Should we try the migration again now? |
No description provided.