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

Tags not saving/getting deleted #22

Closed
Taseldo opened this issue Sep 28, 2015 · 13 comments
Closed

Tags not saving/getting deleted #22

Taseldo opened this issue Sep 28, 2015 · 13 comments

Comments

@Taseldo
Copy link

Taseldo commented Sep 28, 2015

Hello!

We got a really weird bug showing up in geta-tags.
Some tags/words seems to be causing the modul to delete tags when you publish/save.
There is no special characters in the words that causes the bug to appear.

There is no errors showing up in log4net.
Sometimes I get error-message in chrome, however sometimes there are no errors there either oddly enough.

TypeError: Cannot read property 'tagName' of undefined
at _68.placeAt (widgets.js:2)
at _191b.addChild (widgets.js:2)
at Object.addWidgetToRootFunction (widgets.js:2)
at null. (widgets.js:2)
at dojo.js:15
at _2f2 (dojo.js:15)
at Promise.then._2ff.then (dojo.js:15)
at when (dojo.js:15)
at _5f1._createInternal (widgets.js:2)
at null. (widgets.js:2)(anonymous function) @ widgets.js:2
2widgets.js:2

TypeError: Cannot read property 'appendChild' of null
at Object.place (dojo.js:15)
at _13d.addChild (widgets.js:2)
at _19e (dojo.js:15)
at _6b7.addChild (widgets.js:2)
at _19e (dojo.js:15)
at _1256.addChild (widgets.js:2)
at _19e (dojo.js:15)
at _191b.addChild (widgets.js:2)
at Object.addWidgetToRootFunction (widgets.js:2)
at null. (widgets.js:2)(anonymous function) @ widgets.js:2
widgets.js:2 WidgetFactory: Could not resolve one or more widgets(anonymous function) @ widgets.js:2
widgets.js:2

TypeError: Cannot read property 'tagName' of undefined
at _68.placeAt (widgets.js:2)
at _191b.addChild (widgets.js:2)
at Object.addWidgetToRootFunction (widgets.js:2)
at null. (widgets.js:2)
at dojo.js:15
at _2f2 (dojo.js:15)
at Promise.then._2ff.then (dojo.js:15)
at when (dojo.js:15)
at _5f1._createInternal (widgets.js:2)
at null. (widgets.js:2)(anonymous function) @ widgets.js:2

Any help or tips on how to proceed would be greatly appreciated!

@frederikvig
Copy link
Member

Could you try again with version 2.1.2? Thanks

@Taseldo
Copy link
Author

Taseldo commented Oct 13, 2015

Ok I will try that, thank you.
I just got to solve a problem with another nuget not supporting CMS Core v9 first, because its preventing me from updating geta tags.

@Taseldo
Copy link
Author

Taseldo commented Nov 23, 2015

Unfortunately an update did not solve the issue.
Do you have any other ideas regarding what to do?

@garkavy
Copy link

garkavy commented Nov 30, 2015

Could you please clarify what "words, tags" cause the issue?

@frederikvig
Copy link
Member

@Taseldo could you try again with the latest version please

@ezsearch
Copy link

Hi Frederikvig - I have the same problem. I just found out that save/update isn't working. I tried doing the following

    [CultureSpecific]
    [Display(
        Name = "Tags",
        Description = "Click to enter tags for this page",
        GroupName = SystemTabNames.Content,
        Order = 80)]
    [UIHint("Tags")]
    public virtual string Tags { get; set; }

Forgot to mention. I am using 2.1.4 version

@frederikvig
Copy link
Member

@ezsearch does the auto save trigger after you change/update the tags textbox? Are you on the latest version of Tags?

@ezsearch
Copy link

I am on latest version of Tags, got that yesterday. No the auto save did not trigger.

@ezsearch
Copy link

screen shot 2015-12-10 at 12 11 08 pm

Attaching my packages config. if that could be of any use

@ezsearch
Copy link

@frederikvig - not sure why. I some how think that this issue is related to #16.

@Taseldo
Copy link
Author

Taseldo commented Dec 11, 2015

@garkavy I think the problem might be with already used words, possibly in connection to the auto-complete (see below)

@frederikvig I tried to upgrade and it did not fix this issue.

I think @ezsearch is on to something.
It seems that this error occurs at the same that episerver is unable to detect the change.
It also seems to me that when episerver is unable to detect the change, is when I use the auto complete on tags that the system knows from before.

@Ayoubezzddine
Copy link

When you write the word, do not press enter, just click on the suggested tag.
That work for me.

@marisks
Copy link
Member

marisks commented Apr 12, 2016

Fixed by: #34

@marisks marisks closed this as completed Apr 12, 2016
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

No branches or pull requests

6 participants