Dotclear

Ticket #600 (closed defect: wontfix)

Opened 15 years ago

Last modified 11 years ago

Dotclear Admin cannot handle different browser tabs

Reported by: reppep Owned by: xave
Priority: normal Milestone:
Component: module:core Version: 2.1
Severity: normal Keywords:
Cc:

Description

I was looking at posts.php for Linkin' Log, which showed 2 posts. In other tabs, I switched to Extra Pepperoni.

I returned to the LL window and clicked the disclosure + for an LL post. I got an error that the post (ID?) didn't exist. When I reloaded, I got the list of posts on EP.

Tabs/windows should 'remember' which blog they're currently associated with.

Change History

comment:1 Changed 15 years ago by sacha

(In [2664]) sandbox: Expanders continue to work after blog change, see #600 (solved)

comment:2 Changed 15 years ago by olivier

r2664 needs more code review.

I'd prefer a system in which a blog change in another tab display a warning in all other tabs with another blog. Could be perform with a check in ajax every minute or something.

Opening many tabs with different blogs is not possible, as a tab stay with the same session.

comment:3 Changed 15 years ago by biou

I don't really understand why it is not possible to add a GET parameter with the blog id. With this simple solution, the sessions problems are gone, more restful solution, etc.

comment:4 Changed 15 years ago by xave

...and much more room for security problems, nope?

comment:5 Changed 15 years ago by sacha

biou, I agree with you, there is two solutions:

  • show a warning message when blog is switched in another tab or window
  • include everywhere the blog_id parameter, which is more difficult to do:
    • We do it manually, and every Dotclear extension has to be changed
    • We parse internal hyperlinks (in lib.dc.page.php?), and it could be a more interesting solution, but i don't know if it could be quite reliable

comment:6 Changed 15 years ago by biou

xave, perhaps, but what kind of security problem ? and do you mean that passing a parameter in a session is by any mean secure ? I am sorry but I do not believe in security by obfuscation.

comment:7 Changed 15 years ago by xave

  • Summary changed from posts.php confused by blog change to Dotclear Admin cannot handle different browser tabs

(Changed to a more generic summary)

comment:8 Changed 15 years ago by xave

  • Owner changed from olivier to xave
  • Status changed from new to assigned
  • Milestone 2.2 deleted

Replying to reppep:

When I select another blog from the upper-right Blogs: pop-up, DC always shows me the Dashboard for that blog. Instead, it should show me the current page (about:config, Users, or whatever I was looking at) for the selected blog.

comment:9 Changed 13 years ago by bruno

  • Priority changed from high to normal
  • Severity changed from major to normal

comment:10 Changed 13 years ago by bruno

The only way to handle this feature properly would be to add a query_string parameter to each admin URL and, more impacting, to keep it with each page change.

On the core side, the impact is important, but can be managed. However, a huge effort will be requested for plugins to adapt to new coding rules.

But this improvement would be nice to implement, since it may force plugins to use non-hardcoded urls.

comment:11 Changed 13 years ago by bruno

  • Status changed from assigned to onhold

comment:12 Changed 13 years ago by Tomtom33

i think it's to heavy for all plugins community. If there is no solution to handle it in different way, i suggest to close this defect

comment:13 Changed 11 years ago by franck

  • Status changed from onhold to closed
  • Resolution set to wontfix
Note: See TracTickets for help on using tickets.

Sites map