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

Fix media manager when using 0 maximum file size #30572

Merged
merged 5 commits into from
Sep 5, 2020

Conversation

maliouris
Copy link
Contributor

Pull Request for Issue #30567

Summary of Changes

Check if maximum file size is set to 0 and let user upload the image, else check if file size is larger than the maximum file size and throw error

Testing Instructions

Set maximum file size to 0.

Actual result BEFORE applying this Pull Request

Can't upload any image

Expected result AFTER applying this Pull Request

Upload images as expected

Documentation Changes Required

@ghost
Copy link

ghost commented Sep 5, 2020

I have tested this item ✅ successfully on 84e1f80


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30572.

1 similar comment
@alikon
Copy link
Contributor

alikon commented Sep 5, 2020

I have tested this item ✅ successfully on 84e1f80


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30572.

@alikon
Copy link
Contributor

alikon commented Sep 5, 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30572.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Sep 5, 2020
@paternax
Copy link

paternax commented Sep 5, 2020

I have tested this item ✅ successfully on 84e1f80


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30572.

@Quy Quy added this to the Joomla 4.0 milestone Sep 5, 2020
@Quy Quy merged commit dc8d9de into joomla:4.0-dev Sep 5, 2020
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Sep 5, 2020
@Quy
Copy link
Contributor

Quy commented Sep 5, 2020

Thank you!

@maliouris maliouris deleted the fix-media-manager-unlimited branch September 5, 2020 16:50
@wilsonge
Copy link
Contributor

wilsonge commented Sep 5, 2020

Thankyou for you first PR to joomla ❤️

@maliouris
Copy link
Contributor Author

Thank you, although It's not my first PR to joomla

sakiss pushed a commit to sakiss/joomla-cms that referenced this pull request Oct 16, 2020
Co-authored-by: Ioannis Maliouris <giannism@e-avenue.eu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants