Hi all
one of our partners have created a asset listing to edit few documents within there site. The problem they are facing is when they click on the edit hyperlink at times a message comes up saying this page can't be found this is only happening to the document which they have created about 4 to 5 months ago.
Even though if they click on the preview link of the asset listing they can preview without any problems at all.
This is the keyword they are using
<P>%asset_name%- (<A href="%asset_url%/_edit">Edit</A>) (<A href="%asset_url%">Preview</A>) (%asset_type%)</P>
they have manually cleared the squid cache and still this problem is occurring on all browsers. I am clueless why this is happening. Any ideas.
Cheers 
Are the URLs being output by the asset listing correct? View the page with /_nocache (so it bypasses all the caching anyway) and check the URLs.
Also remember that if its listing File assets (PDFs, Word, Images, etc), then these assets cannot be edited via Simple Edit in this way.
Without /_nocache or with, the old files seems to generate this errors
Not Found
The requested URL /__data/assets/pdf_file/33710/xxxxx.pdf/_edit was not found on this server.
a lot. :(
[quote]Also remember that if its listing File assets (PDFs, Word, Images, etc), then these assets cannot be edited via Simple Edit in this way.
[right][post="15799"]<{POST_SNAPBACK}>[/post][/right][/quote]
This will not be edited via simple edit interface. The user are given a direct url to login in through for this part.
Basically they are using the following permissions.
Read - (there own usergroup)
Write - (there own usergroup)
Admin - (there own usergroup)
Cheers :D
[quote]The requested URL /__data/assets/pdf_file/33710/xxxxx.pdf/_edit was not found on this server.
[right][post=“15800”]<{POST_SNAPBACK}>[/post][/right][/quote]
This is a File URL – you cannot append /_edit to the end of a URL that starts __data.
You need to rewrite the original code for File based URLs as follows:
[html]<P>%asset_name%- (<A href="/_edit?limbo_assetid=%asset_assetid%">Edit</A>) (<A href="%asset_url%">Preview</A>) (%asset_type%)</P>[/html]
[quote]This is a File URL – you cannot append /_edit to the end of a URL that starts __data.
You need to rewrite the original code for File based URLs as follows:
[html]<P>%asset_name%- (<A href="/_edit?limbo_assetid=%asset_assetid%">Edit</A>) (<A href="%asset_url%">Preview</A>) (%asset_type%)</P>[/html]
[right][post=“15801”]<{POST_SNAPBACK}>[/post][/right][/quote]
This is working fine now in simple edit interface of version 3.12.2, but I came across something a bit odd, when I clicked on the 'Edit' hyperlink of the asset listing page, it opens up a multiple window inside the simple edit interface. Not happeing for the 'preview' link. Is this the desire behaviour or am i making a mistake. Have attached two images.
firstscreen.JPG (72.2 KB)
whenclickedontheedit.JPG (107 KB)
If you're in Simple Edit already, you should add target="_top" to the link so that it reloads the entire frameset again.
or
append &asset_ei_screen=details to the url