When in uBlogsy, I can't remove any tag from a post however it will let me add with no problem at all. uBlogsy was downloaded using the Ubraco Repository, the version is 2.1.0.0 on Umbraco version 4.7.1 using IIS 6.
Ive checked through the code and compared it to another, older site I have, it seems that both sites are running Umbraco 4.7.1 however one has uBlogsy 2.1.0.0 (the one giving me trouble) and the other has 2.0.0.1, I've checked to see the difference in the Javascript and it seems that the 'handleClickDelete function is different between these two versions, this could possibly be what is causing it.
I also recieve an error stating 'event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.' whenever I click delete on a tag.
I've noticed that if you add a tag, it can be removed streight away however if you publish the post that it's on, you then cant remove it and it's the same for any other tags you add. Tags can only be removed if the changes haven't been saved/published.
I am also experiencing this. Clicking the [ X ] next to a tag doesn't do anything. This is in Chrome on Windows 7. Opening up Chrome's Inspector console does not reveal any JS errors when I click. It's just that nothing happens. I then tried in Firefox 12, same (lack of) effect and nothing in the Firebug console either.
Interestingly, our client reported another weird (possibly related!) error at one point with the tags. (See screenshot below.) I have not been able to replicate this on my Windows machine; when I look at the posts I don't see this for myself. (Note, she is using Chrome on a Macintosh, so maybe that has something to do with it?) I also wonder if it has anything to do with the apostrophe she used in one of the tags? Here's the screenshot she sent me (with my own redactions, not hiding anythning unusual)...
Thank you! In the meantime, I'll try the workaround that Luke suggested.
OK, I have spent a few moments debugging the problem, thanks to Luke's previous work. It seems that the "probably redundant check" that is happening on line 161 of uTagsy.ascx is confused. Only new, unpublished tags are prefixed with the nodeId. Previous, already-published tags are NOT prefixed with the nodeID.
To test this, I added a new tag called "asdf" and then immediately tried to delete it. Pausing execution at this point shows that the "asdf" tag is prefixed, but all of the others are not. Here's a screenshot: (I had to tweak my screenshot because umbraco forums apparently limit max width to 500px, hopefully is readable enough to see what i'm talking about)
Thanks again for your attention to this matter, and for all of your hard work in making this project in the first place!
Note to self, the 500px image shrinkage is apparently only shown to you in the richtext editor while composing the post. Acutal posted image looks fine.!
I ended up not just commenting out the lines 162 through 164, but modifying them since it looked like i still needed "tagIndex" to have an actual value... Here's what I changed:
Cant remove tags
When in uBlogsy, I can't remove any tag from a post however it will let me add with no problem at all. uBlogsy was downloaded using the Ubraco Repository, the version is 2.1.0.0 on Umbraco version 4.7.1 using IIS 6.
In firebug or chrome console, check to see if there are any js errors.
Ive checked through the code and compared it to another, older site I have, it seems that both sites are running Umbraco 4.7.1 however one has uBlogsy 2.1.0.0 (the one giving me trouble) and the other has 2.0.0.1, I've checked to see the difference in the Javascript and it seems that the 'handleClickDelete function is different between these two versions, this could possibly be what is causing it.
I also recieve an error stating 'event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.' whenever I click delete on a tag.
Has this been solved?
I've noticed that if you add a tag, it can be removed streight away however if you publish the post that it's on, you then cant remove it and it's the same for any other tags you add. Tags can only be removed if the changes haven't been saved/published.
Once again, any help would be appretiated.
Thanks in advance.
Okay, I've solved the problem by commenting out lines 162 to 164 in the uTagsy.ascx file, the script that causes the problem looks like this:
if (tagIndex == -1) {
return false;
}
Thanks for the help anyway.
Strange.
I'll have to take a look at that.
Is it only happening in chrome? and which verion of chrome?
this happens in all browsers not just chrome, the the problem seems to only happen on published tags.
I am also experiencing this. Clicking the [ X ] next to a tag doesn't do anything. This is in Chrome on Windows 7. Opening up Chrome's Inspector console does not reveal any JS errors when I click. It's just that nothing happens. I then tried in Firefox 12, same (lack of) effect and nothing in the Firebug console either.
Interestingly, our client reported another weird (possibly related!) error at one point with the tags. (See screenshot below.) I have not been able to replicate this on my Windows machine; when I look at the posts I don't see this for myself. (Note, she is using Chrome on a Macintosh, so maybe that has something to do with it?) I also wonder if it has anything to do with the apostrophe she used in one of the tags? Here's the screenshot she sent me (with my own redactions, not hiding anythning unusual)...
Thank you! In the meantime, I'll try the workaround that Luke suggested.
OK, I have spent a few moments debugging the problem, thanks to Luke's previous work. It seems that the "probably redundant check" that is happening on line 161 of uTagsy.ascx is confused. Only new, unpublished tags are prefixed with the nodeId. Previous, already-published tags are NOT prefixed with the nodeID.
To test this, I added a new tag called "asdf" and then immediately tried to delete it. Pausing execution at this point shows that the "asdf" tag is prefixed, but all of the others are not. Here's a screenshot: (I had to tweak my screenshot because umbraco forums apparently limit max width to 500px, hopefully is readable enough to see what i'm talking about)
Thanks again for your attention to this matter, and for all of your hard work in making this project in the first place!
Note to self, the 500px image shrinkage is apparently only shown to you in the richtext editor while composing the post. Acutal posted image looks fine.!
I ended up not just commenting out the lines 162 through 164, but modifying them since it looked like i still needed "tagIndex" to have an actual value... Here's what I changed:
Thanks again!
This works, thanks for looking further into it!
is working on a reply...