WLW blog posting - a couple of issues with categories

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/22/2013 8:43:49 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

WLW blog posting - a couple of issues with categories

When using WLW to work with a blog on a site that has more than one blog, there are a couple of problems when working with the different blogs. I find everything works well with one blog, but with the other I am unable to add categories in WLW (it can see existing ones but not add), plus, when I open an existing post, it doesn't retrieve the categories already assigned to that post.

I can't see any particular logic as to why the two blogs behave differently, except that the one I set up and configured first in WLW works, the second one is the one with minor problems.

2/27/2013 1:47:03 PM
Gravatar
Total Posts 18439

Re: WLW blog posting - a couple of issues with categories

I'm not able to reproduce the problem with 2 blogs. As long as both are on different pages it should work and does work for me. I'm able to add categories in both. When setting them up the correct blog page url must be configured for each though the service url will be the same for both. We determine the module id as the first blog instance on the page that the user has edit permissions on. So we can't support multiple blogs on one page just as we can only edit one html instance on a cms page with WLW.

I am able to reproduce the issue when pulling down an existing post it does not load the categories for the post in the WLW UI but I have stepped through the code and logged output and verified that we are indeed sending categories down in the correct xml format both with the list of recent posts and when the specific post is requested so it seems like an issue with WLW itself.

Best,

Joe

12/23/2013 2:21:05 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: WLW blog posting - a couple of issues with categories

Hi Joe

I still have the problem with not being able to create categories on one blog through WLW. I've just tried again using WLW 2012.

I think I have tracked down how to replicate this. If the blog is on a page with restricted view permissions when the blog in configured in WLW, then WLW will determine that it cannot create categories. Actually I've found that the blog feature itself must be visible to anonymous users.

Since this is not logically valid, as the configured account does have view and edit permissions on the blog, I'm hoping this is a fixable bug?

The "bad" blog also shows some other odd behaviour, such as when I switch WLW to the "bad" blog it tries to request wlwmanifest.xml from below the blog (e.g. http://mysite.com/mypagewithablog/wlwmanifest.xml (and this doesn't exist). Perhaps this is related. Yes I think it must be, as the manifest file contains these:

<supportsNewCategories>Yes</supportsNewCategories><supportsNewCategoriesInline>Yes</supportsNewCategoriesInline>

so perhaps if WLW cannot find the manifest it adopts some defaults.

Second tiny bug while I'm here: when adding a new category in the mojoPortal UI, the behaviour is slightly different when adding a post from when editing. When adding a post, the new category is selected and any previously selected ones become unselected (not good), but when editing an existing post, previously selected categories stay selected (good). Tested in Chrome and IE.

And also noted in passing... the HTML editor is not loading when I create a new post in Chrome. Or rather, it seems to load then quickly disappear. This noted on https://demo.mojoportal.com/Blog with art2-greengold skin (also affects others).

You must sign in to post in the forums. This thread is closed to new posts.