Postponed (maintainer needs more info)
Project:
WYSIWYG image upload - Inline images for your WYSIWYG
Version:
6.x-2.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
15 Jun 2010 at 22:11 UTC
Updated:
10 Nov 2018 at 22:52 UTC
Jump to comment: Most recent
Comments
Comment #1
eugenmayer commentedwhait a second:
1.On node A i insert Image a, with a title "title-a".
2 Then on node B i select image a out of the image browser (title should be the filename now, not title-a)
3. Changing the title to title-b and saving
Now in nodeB the title is not correct? or in node A? The title in node A should actually not change at all
Comment #2
eugenmayer commentedComment #3
eugenmayer commentedThis is a dublicate of http://drupal.org/node/830070 - now iam pretty sure you are talking about changes in node-A. The cache you are talking about is the "filter-cache" and you can configure it on your own or even disable this. It is not planned to share settings ( like titles ) across all this image-uses as you read in the other issue, so this is not needed at all - as not desired to work that way
Comment #4
Anonymous (not verified) commentedI don't believe it's a dupe. Anyway it's not fixed. More detailed steps to reproduce:
Comment #5
eugenmayer commentedThis is filter cache - not a bug.
Comment #6
Anonymous (not verified) commentedThis is not only for the title/caption, but also for changes to alignment and image cache preset.
Comment #7
Anonymous (not verified) commentedUh, never heard of filter cache. If i click a button saying "Update" (in the dialog of your module), I expect things to update. It doesn't, hence it's a bug. Did you reproduce the behaviour i described or do I have some strange setup?
You mentioned in #3 that the "filter cache" can be configured or even disabled. How? I can't figure out where to do that (but anyway it doesn't sound like a fix).
Comment #8
eugenmayer commentedThe filter cache should normaly be cleared for updated nodes. I cant reproduce your issue. Do you use some odd content caching?
Comment #9
eugenmayer commentedtried it on my installtion and on a clean d.17 with wysiwyG_imageupload. Works in both cases.
Reopen if you have further details or can reproduce it in a clean installation.
Comment #10
Anonymous (not verified) commentedJust did a clean install on a different machine just to test. Still the same. Specs:
Drupal 6.17
+ default core modules + OpenID core module
WYSIWYG Image upload 6.x-2.0-rc7
ImageAPI 6.x-1.8
ImageAPI GD2 6.x-1.8
ImageCache 6.x-2.0-beta10
ImageCache UI 6.x-2.0-beta10
jQuery UI 6.x-1.3
+ jQuery UI 1.7.3
jQuery Update 6.x-2.0-alpha1
Wysiwyg 6.x-2.x-dev ( 2010-Apr-08 )
+ CKEditor 3.3.1
+ TinyMCE 3.3.7
JQuery UI Dialog API 6.x-1.8
Added only the Upload image button. Enabled the wiki filter. Added permission. Nothing else installed. No status warnings. Anything you'd like me to try?
Regarding the positioning, this is updated as expected while inside the editor, but not updated in the node view after you resave the node until you flush the cache.
BUT: I have an important clue. The bug is only reproduced if there's no change to anything else in the body (or title...). Theory: Drupal only flushes the cache if it sees the node data is different. And this of course doesn't happen as changes to the image are not saved in the node. (as it's just represented as [[wysiwyg_imageupload:6:]] no matter what changes).
Comment #11
eugenmayer commentedAh i see, that one makes sense!
Thank you for the detailed feedback and your time!
Comment #12
eugenmayer commentedactually filter cache is not cleared : http://api.drupal.org/api/function/cache_clear_all/6 ( upper case ).
I have fixed this with http://github.com/EugenMayer/wysiwyg_imageupload/commit/d8b3844aae16229a...
Comment #13
eugenmayer commentedCould you please test and review it?
Comment #14
eugenmayer commentedwoops :)
Comment #15
eugenmayer commentedverified that it is working, will be released in rc8
Comment #16
eugenmayer commentedreleased in rc8
Comment #17
vthirteen commentedas far as i can see this is still a problem in 2.9 (and in 2.x dev as of today)
drupal 6.22
wysiwyg 6.x-2.3
jquery_ui 6.x-1.4
jQuery Update 6.x-2.0-alpha1
jquery_ui_dialog 6.x-1.10
Comment #18
eugenmayer commentedPlease try 3.x. I cant reproduce this for me, so you have to debug it yourself and hunt a little :)