ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Edit Channel Entries using 2.1.3 - issue with links to the entries

January 20, 2011 11:31pm

Subscribe [3]
  • #1 / Jan 20, 2011 11:31pm

    Andrew Gunstone

    102 posts

    Hi all,

    I’m using the latest version of EE (2.1.3 Build 20101220), but am having an issue with the links to entries from the Edit Channel Entries page.

    In previous versions of EE2 (ie. 2.1.1) the links were generated WITH their correct “entry_id” in the URL.  So in the Edit Channel Entries list if I click on the link to edit entry_id “2” (lets call it the “About us” entry) the link would be (if viewed directly from the source):

    <a href="http://index.php?S=8cd90f44545b00e1e88dac6cd69d513c73ad4a7d&D=cp&C=content_publish&M=entry_form&channel_id=1&entry_id=2">About us</a>

    Simple!  This makes complete sense!

    Now in EE2.1.3 it seems that jQuery is being used to create the “entry_id”.  So if the “About us” entry was first in the list, the link would be (again, if viewed directly from the source):

    <a href="http://index.php?S=8cd90f44545b00e1e88dac6cd69d513c73ad4a7d&D=cp&C=content_publish&M=entry_form&channel_id=1&entry_id=0">About us</a>

    After the page has finished loading, some jQuery is called to run through all the entries listed to change the “entry_id” to the correct id.

    SO… to my issue….

    This is causing issues when a user clicks on the link BEFORE the page has finished loading.  They are taken to either the WRONG entry, or if the entry_id is set to 0 (which the first one is), then they are taken to a Publish New page.

    Is this by design, or a bug?  Thoughts?

    Cheers.

  • #2 / Jan 21, 2011 1:02am

    Cheif

    626 posts

    WOW, you must have a god awful connection, Ive tried to replicate it but no go, job for the boffins!!

  • #3 / Jan 21, 2011 1:07am

    Andrew Gunstone

    102 posts

    Welcome to Australia! Where fast broadband is a political hot potato.  Ha ha.

    It’s probably more prevalent when you have a few add-ons installed, and they are all trying to do clever javascript stuff.

    Either way, it’s still not ideal.  Really you should have the right entry_id in the link as soon as it’s clickable.  Even if there is a 1 second delay, then there is the chance someone will click on it! 

    I’m unsure why it’s been changed to work this way in 2.1.3… maybe an Ellislabs staff member could shine some light on the issue!

    Cheers.

  • #4 / Jan 21, 2011 1:08am

    Andrew Gunstone

    102 posts

    As another minor point… I can’t guarantee what connection speeds the client has!

    😉

  • #5 / Jan 21, 2011 3:17pm

    Sue Crocker

    26054 posts

    Hi, Andrew.

    This problem is fixed in the next release of EE. I don’t have a firm release date, though.

  • #6 / Jan 21, 2011 5:46pm

    Andrew Gunstone

    102 posts

    Brilliant.  Thanks for the update Sue.  Totally understand about not having a firm release date for the next version.  I’ll keep an eye out for it.

    Cheers.

  • #7 / Jan 23, 2011 2:15pm

    Greg Salt

    3988 posts

    Hi Andrew,

    I’ll close this thread but please post back if required.

    Cheers

    Greg

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases