[Pretty small textbox field (only 2 lines) for posting new topic in MS IE 6, is this only me?]
Hello Martijn,
I am discovering some annoying limitations, probably due to chaching, but I didn't found a way to change this behaviour.
If I am adding new (child) nodes, they do not appear immediately, it takes 1/2 up to 2 minutes for them to appear in the navigation tree (while they instanly appear in the web front end). Adding a deep navigation hierarchy, this is a real pain. Any suggestions to turn off this behaviour?
I have set up multiple projects, each of them having their own virtual directory. If I am switching to one of the other projects exept the first one, there are no content editing possibilities, even though all permissions are set. I only get the site displayed with all module titles, but without the editing link. Any suggestions?
Thanks a lot for any help in advance.
Regards
Marc
Feature suggestion:
Allow the whole navigation structure to be seen at once, not only one open navigation branch at the same time.
MS[Pretty small textbox field (only 2 lines) for posting new topic in MS IE 6, is this only me?]
No, same here. It has probably something to do with the current template, but I'm just too lazy to fix it (and using Firefox) ;)
I am discovering some annoying limitations, probably due to chaching, but I didn't found a way to change this behaviour.
If I am adding new (child) nodes, they do not appear immediately, it takes 1/2 up to 2 minutes for them to appear in the navigation tree (while they instanly appear in the web front end). Adding a deep navigation hierarchy, this is a real pain. Any suggestions to turn off this behaviour?
Yes, this is a really annoying (I can speak from my own experiences). But... it is fixed in SVN. I'll try to release 0.8.2 this weekend with the fix included.
I have set up multiple projects, each of them having their own virtual directory. If I am switching to one of the other projects exept the first one, there are no content editing possibilities, even though all permissions are set. I only get the site displayed with all module titles, but without the editing link. Any suggestions?
I'll have a look at that. I don't know if it's a bug or maybe something related to the caching issues.
Feature suggestion:
Allow the whole navigation structure to be seen at once, not only one open navigation branch at the same time.
You mean in the administration interface or on the site itself?
You mean in the administration interface or on the site itself?
administration interface
Yes, this is a really annoying (I can speak from my own experiences). But... it is fixed in SVN. I'll try to release 0.8.2 this weekend with the fix included.
What did cause this effect?
Which file(s) are modified tofix this issue?
Marc
What did cause this effect?
Which file(s) are modified tofix this issue?
NHibernate's second level cache caches collections separately and adding new nodes or sections didn't 'touch' the collection, so the collections stayed in the cache. Changes are in the code-behind pages of the administration site and the Node and Section classes (and all jcs-cache properties in the mapping files are set to read-write).
Yes, this is a really annoying (I can speak from my own experiences). But... it is fixed in SVN. I'll try to release 0.8.2 this weekend with the fix included.
Did you found some time to prepare release 0.8.2?
If not, could you please just tell me which files to replace, as your local subversion system does not have filestamps to find out where changes have been committed.
Thanks a lot
Marc
Did you found some time to prepare release 0.8.2?
Unfortunately not. But this week it will be there, I promise :)
If not, could you please just tell me which files to replace, as your local subversion system does not have filestamps to find out where changes have been committed.
I think it's save to just get the latest revision from SVN.
Hello Martijn,
I thougth that I Would have to pull each file manually, as the cvs branch looked like web access only. But with TortoiseSVN I managed to get the files. I will try it out.
But accessing other sites than the first, does not seem to be a caching issue. Even after restart of asp runtime, the edit links still are not visible. Alle permissions from site root down to sections are set, even multiple times - without success. I will play round with this.
Marc
MSBut accessing other sites than the first, does not seem to be a caching issue. Even after restart of asp runtime, the edit links still are not visible. Alle permissions from site root down to sections are set, even multiple times - without success. I will play round with this.
I'll have a look at it tomorrow. Sounds like a bug.
I just played around for a while with multiple sites (one located at
http://localhost/cuyahoga and one at
http://localhost/cuyahoga-2). This means 2 different sites on one codebase and one database.
Unfortunately (or fortunately?) I wasn't able to reproduce the issues you had.
On the second site I set up a node with a section with edit permissions for only the administrator and the edit link does appears just as expected.
[SITE] Role for registered users : Administrator
[NODE] Authorization : View & Edit allowed for all roles + all Propagate security settings enabled
[SECTION] Authorization : View & Edit allowed for all roles
[View the current site] Admin link is not displayed / edit link is not displayed
Ergo :
This behaviour is due to authorization
Even though beeing logged in as admin, in all other sites exept the first, the user role seems to be recognized as Anonymous user
If I add a login section to any other site, I am able to login and get both, admin and edit links. But now I am not able to edit any other site - user role seems to change to anonymous user. Arrgh. I hope this is not by design. Could you please have a look at it and consider having full access to all registered sites from the admin panel without having to login into each one each time switching to another.
Thanks a lot
Marc
And a small suggestion: If you add a new node with corresponding sections and are switching to edit mode [View the current site], it would be fine to directly jump to the page without having to navigate through the hole navigation hierarchy. The [View the current site] link only leads to the root page, could you change this to the current node or add another link referencing the current node that is beeing worked on.
MSIf I add a login section to any other site, I am able to login and get both, admin and edit links. But now I am not able to edit any other site - user role seems to change to anonymous user. Arrgh. I hope this is not by design. Could you please have a look at it and consider having full access to all registered sites from the admin panel without having to login into each one each time switching to another.
Aha, now we're getting somewhere. By design, ASP.NET doesn't share authentication tickets between applications and having multiple virtual dirs automatically means multiple applications.
BUT: this can be modified easily in two different ways:
1. Remove the IsolateApps option from the machinekey setting in the machine.config:
Change
machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="SHA1"/>
to
machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1"/>
(start brackets ommitted, otherwise ASP.NET didn't allow me to post it)
2. Add a machinekey section in the web.config with fixed value:
system.web>
machineKey validationKey="A532B06060A455A2C49E107CC9F8C3487E5D3F50" decryptionKey="A373C4090970952E" validation="SHA1"/>
I tested both options and they both worked.
And a small suggestion: If you add a new node with corresponding sections and are switching to edit mode [View the current site], it would be fine to directly jump to the page without having to navigate through the hole navigation hierarchy. The [View the current site] link only leads to the root page, could you change this to the current node or add another link referencing the current node that is beeing worked on.
Thanks for the hint. I'll add a JIRA issue for this. Expect it to be improved in the 0.9 release.
Hurray - Martijn, that did it (i) . After having played with authorization, I got the strong feeling that this should somehow relate to an asp.net design issue, but wasn't 100% sure about it. I will have to go deeper into the inner workings of asp.net ;-).
Thank you very much for your help, this would have taken me lot of time to discover.
Maybe you would like to open a faq or tips & tricks section. This just has been a valuable tip, at least for me. Often it are the easiest things (if someone only know them) that are the hardest - if you know what I mean.
Matijn, thanks a lot again.
Marc
Few other requests ;-)
1. Regarding the admin node navigation, it would be fine to replace it with a client-side / non-backposting treeview, allowing to have multiple branches open at the same time.
2. And after viewing / editing side content, the admin link should have a backtrack url allowing to return to the last opened / active node. Now, you will have to navigate down a whole hierarchy (at least 2 mouse clicks up to 6).
MSThank you very much for your help, this would have taken me lot of time to discover.
Maybe you would like to open a faq or tips & tricks section. This just has been a valuable tip, at least for me. Often it are the easiest things (if someone only know them) that are the hardest - if you know what I mean.
Hmm, I think it's a bit too early for a FAQ. Of all questions I've seen about Cuyahoga, they were all different. Maybe I could make 'AQ' section :).
1. Regarding the admin node navigation, it would be fine to replace it with a client-side / non-backposting treeview, allowing to have multiple branches open at the same time.
Would be nice to have but there's a lot of work involved, or do you perhaps know any free solution that can be incorporated easily?
2. And after viewing / editing side content, the admin link should have a backtrack url allowing to return to the last opened / active node. Now, you will have to navigate down a whole hierarchy (at least 2 mouse clicks up to 6).
How about opening 'view current site' in a different browser window?