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

[4.0] Fix saving images #30730

Merged
merged 3 commits into from
Sep 23, 2020
Merged

[4.0] Fix saving images #30730

merged 3 commits into from
Sep 23, 2020

Conversation

SharkyKZ
Copy link
Contributor

@SharkyKZ SharkyKZ commented Sep 22, 2020

Fixes #30664 and #28842.

Summary of Changes

Fixes saving images after editing in media manager.

Testing Instructions

node build.js --compile-js required.

Edit an article.
In editor click CMS Content -> Image.
Edit an image in the modal.
Click Save & Close.

Actual result BEFORE applying this Pull Request

Modified image is not saved and modules appear in the modal after redirect.

Expected result AFTER applying this Pull Request

Modified images is saved and your are redireceted back to media list without modules showing.

Documentation Changes Required

No.

@richard67
Copy link
Member

@SharkyKZ There are javascript lint errors: https://ci.joomla.org/joomla/joomla-cms/35601/1/23.

@infograf768
Copy link
Member

I always get a correct success message when modifying image title and using Save.
I have no message when modifying image and saving.
If I modify image and Save and Close, the modified image is not yet displayed as it was modified. I have to close the modal and open it again to see the change.
These may be unrelated to this PR.

@richard67
Copy link
Member

I have tested this item ✅ successfully on b096991

Works as described.

Findings by @infograf768 could be fixed with another, future PR.


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

@jwaisner
Copy link
Member

I have tested this item ✅ successfully on b096991


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

@jwaisner
Copy link
Member

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Sep 22, 2020
@infograf768 infograf768 merged commit 8fcc810 into joomla:4.0-dev Sep 23, 2020
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Sep 23, 2020
@infograf768
Copy link
Member

Tks.

@infograf768 infograf768 added this to the Joomla 4.0 milestone Sep 23, 2020
@SharkyKZ SharkyKZ deleted the j4/fix/media-image-save branch September 23, 2020 07:27
dgrammatiko added a commit to dgrammatiko/joomla-cms that referenced this pull request Sep 26, 2020
* Joomla/4.0-dev: (844 commits)
  [4.0] Template layout select (joomla#30772)
  [4.0][CLI] com_finder use console command (joomla#30768)
  [4.0] Modifying com_actionlogs string (joomla#30758)
  [4.0] Fancy selectbox fix (joomla#30739)
  [4.0] Add missing Table Caption (joomla#30763)
  [4.0] Wrap all buttons in btn-group to improve styling (joomla#30761)
  [4.0] Cassiopeia missing string (joomla#30765)
  Improve batch text (joomla#28447)
  Fix icons not displaying (joomla#30749)
  Remove the chrome "cardGrey". The same effect can be achieved by using the module class "card-grey" with the "card" chrome (joomla#30734)
  Remove obsolete html code (joomla#30737)
  [4.0] Check out improvements related to nullable columns (joomla#30747)
  Removing card.scss overrides as we don't use those classes
  Use renderField() method to render fields (joomla#30738)
  [4.0] spelling (joomla#30742)
  [4.0] Remove use of ReflectionParameter::getClass() (joomla#30581)
  [4.0] Fix saving images (joomla#30730)
  [4.0] Cleanup cassiopeia chromes and rename "default" to "card" (joomla#30729)
  Fix hiddenLabel and add hiddenLegend form attribute (joomla#29710)
  [4.0] Fix Debug plugin to display query parameters (joomla#30717)
  ...
sakiss pushed a commit to sakiss/joomla-cms that referenced this pull request Oct 16, 2020
* Fix saving images

* Typo

* CS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NPM Resource Changed This Pull Request can't be tested by Patchtester
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants