You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by "bossenti (via GitHub)" <gi...@apache.org> on 2023/11/23 07:27:14 UTC

[I] FIle upload does not allow for multiple files

bossenti opened a new issue, #2221:
URL: https://github.com/apache/streampipes/issues/2221

   ### Apache StreamPipes version
   
   dev (current development state)
   
   ### Affected StreamPipes components
   
   UI
   
   ### What happened?
   
   When selecting multiple files in the file management component to be uploaded, only the latest is really uploaded.
   
   ### How to reproduce?
   
   Go to the file management module and click on `upload new file`.
   Select multiple files in the upload dialog.
   ![image](https://github.com/apache/streampipes/assets/50115603/d08d9a48-0b6b-49a9-9b52-f79035a55f6f)
   Press the `IMPORT FILES` button
   ![image](https://github.com/apache/streampipes/assets/50115603/07f821aa-2ece-41b3-8acf-afb413dd8b56)
   
   instead of both files only one appears to be uploaded
   
   ### Expected behavior
   
   Either clearly indicate that only one file is allowed per upload by changing button labelings and the upload dialog or enable the upload of multiple files.
   
   ### Additional technical information
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   None


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] FIle upload does not allow for multiple files

Posted by "muyangye (via GitHub)" <gi...@apache.org>.
muyangye commented on issue #2221:
URL: https://github.com/apache/streampipes/issues/2221#issuecomment-1837786781

   As I was fixing #2181, I encountered the exact same problem which broke my code. Let me fix them altogether.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] FIle upload does not allow for multiple files

Posted by "bossenti (via GitHub)" <gi...@apache.org>.
bossenti closed issue #2221: FIle upload does not allow for multiple files
URL: https://github.com/apache/streampipes/issues/2221


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] FIle upload does not allow for multiple files

Posted by "aamirxshaikh (via GitHub)" <gi...@apache.org>.
aamirxshaikh commented on issue #2221:
URL: https://github.com/apache/streampipes/issues/2221#issuecomment-1824501405

   I tried to reproduce the issue on my local, but I was able to upload multiple files successfully. Here is a screenshot:
   
   ![image](https://github.com/apache/streampipes/assets/56036364/ff30d4f0-5b57-43c5-9709-799c3f5988f5)
   
   ![image](https://github.com/apache/streampipes/assets/56036364/29eaa004-d789-4385-bfc9-fedbfb7dee15)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] FIle upload does not allow for multiple files

Posted by "muyangye (via GitHub)" <gi...@apache.org>.
muyangye commented on issue #2221:
URL: https://github.com/apache/streampipes/issues/2221#issuecomment-1838098409

   I have investigated a little bit and this is actually the expected behavior. If we want to upload multiple files, we have to multi-select them all at once (i.e. ctrl+click) instead of upload them one by one because Typescript dom lib will replace the entire `FileList` whenever a upload is triggered. So we will only see the last file uploaded. Should we close this issue?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] FIle upload does not allow for multiple files

Posted by "bossenti (via GitHub)" <gi...@apache.org>.
bossenti commented on issue #2221:
URL: https://github.com/apache/streampipes/issues/2221#issuecomment-1840099110

   Mhm okay, thanks a lot for investigating @muyangye  🙏🏼 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] FIle upload does not allow for multiple files

Posted by "bossenti (via GitHub)" <gi...@apache.org>.
bossenti commented on issue #2221:
URL: https://github.com/apache/streampipes/issues/2221#issuecomment-1823915683

   ### Mentoring
   
   As this issue is marked as a good first issue: one of @dominikriemer, @tenthe, or @bossenti are happy to provide help for getting started, just tag (one of) them if you want to start working on this issue and need some help.
   This issue is ideal for people who are interested in getting started with StreamPipes and have some prior knowledge in UI development.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] FIle upload does not allow for multiple files

Posted by "bossenti (via GitHub)" <gi...@apache.org>.
bossenti commented on issue #2221:
URL: https://github.com/apache/streampipes/issues/2221#issuecomment-1825240582

   Hm, that's strange 😅
   
   I'll give it another try on my end, maybe it's related to the specific file I used


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org