Link type in Plone 4.0.2 stopped working - plone

I'm working on a Plone 4.0.2 website that for awhile has been running smoothly, but just recently the Link contenttype has stopped functioning as it should. Regardless of being logged in or not all that is ever seen is the page saying "The link address is :[target URL]". Also when creating/editing a link the info message that usually says "you're seeing this because you have permission to edit..." isn't showing up. I've attempted to reinstall archetypes and no change occ

in portal_skins/plone_content there is a view called link_redirect_view a Script (Python)
that normally does the job :
here is the doc :
Redirect to the Link target URL, if and only if:
- redirect_links property is enabled in portal_properties/site_properties
- AND current user doesn't have permission to edit the Link
I would check with /select_default_view what is the default view of the link.
If there is no link_redirect_view available I would go and see what is going on in portal_types as Jihaisse said. Could it be that quintagroup.seoptimizer has something to do with the problem ? It happened to me and I've got quintagroup.seoptimizer, hmm..
Actually, since it happened to me again (may because uninstall quintagroup.seoptimizer) To have my redirections in the same way as before I had to go /##types-controlpanel and ask to see the type Link : there it was a setting call some things like .. "direct redirection"

You may check the default view of the link.
It's like it's base_view not link_view.
You can see this directly on the link by choosing the view action, or in the ZMI in portal_types.
If the view has changed, it's surely because of an add-on.

Related

Firebase Crashlytics links from mail, redirect to error-page, due to wrong Chrome user

Setup:
having a firebase project with crashlytics active
receive mails for crashes
try to open the crash from the link within the mail
Example link: https://console.firebase.google.com/project/xxx-8c64/crashlytics/app/android:com.example.project/issues/3fgdfgfdg9e86f653d84df9fdfdfdf3?time=last-seven-days
I have multiple accounts in chrome. One is my private, one is my work account.
My main account is the private one. (/u/0)
Now, once I try to open the link
result: get redirected to wrong user https://console.firebase.google.com/u/0/
expected result: asking which account I want to use to open the link
My current workaround is to stop loading the link in the middle and replacing the u/0 with u/1 and let chrome continue. This will load the link correctly. But it will not always work and is super cumbersome.
Is there anything I can do? Do some of you face the same problem?
(Besides logging in with my work account. No - I don't want to log out from my main and switch forth and back all the time)
Okay I found a way, although I would love to hear a better one.
Using a redirect chrome extension. Redirector
github Link
Chrome Extension Link
RegEx:
From: ^https://console\.firebase\.google\.com/u/./(.*)
to: https://console.firebase.google.com/u/1/$1

Unable to delete page in Magnolia CMS

I'm trying to delete a page from Pages application and I'm receiving success message
But the page is still there.
It's the same when I try to delete a page from JCR, I'm receiving success message, but the node is still there.
I have no info, warning or error messages in the logs.
What I've tried is to turn off the public instance from the Configuration app, but still I'm not able to delete a page.
It's happening only on my author instance.
Any idea, where I can look to find some info why I'm unable to delete a page, or why I have that problem?
Thanks.
Edit:
I don't get the trash bin icon on the page like this:
Just nothing is happening.
Solution:
Ok, I kinda solve it.
This is happening only on macOS Mojave in Safari 12.1.1
It works fine on Windows under Chrome, Firefox, Edge.
You need to publish the deleted page. The activation/deactivation of pages does not happen automatically, so if the node disappears immediately after deletion, you won't be able afterwards to publish the "deletion" to public instances, to keep them in sync.

Installation Issue Error 500

I currently have DNN 7 installed and have been unable to get your module to work.
I do a typical module install of 2sic_2SexyContent_08.04.07_Install with apparently no issues.
When I drag the Content module to a pane there's an exception created in the log although the module does show up on the page.
I then click "Auto configure..." and then OK in the pop-up
It shows "installing Getting Started Templates" but then a pop-up shows error 500
The log shows:
"The given key was not present in the dictionary" and "Object reference not set to an instance of an object."
I checked github but couldn't find a resolution.
Is there an easy fix to this as I'd really like to get this installed. Heck, even if it's not easy, I still want to get it installed.
Thanks
Bob
I created a short video for you so you see what you should get: http://2sxc.org/en/blog/post/moving-discussions-from-codeplex-to-stack-overflow
Here another guess
make sure your domain-names/paths are correct in DNN - these are portal settings and if something is wrong there, you will probably get funny redirects
Also: pls post some screenshots etc. - because that will help to understand which part is generating a 500
Note that it's also possible that whatever caused the initial error, did something which is hard to fix for inexperience users. So just to start, it's probably best to first create a new DNN, install 2sxc and when that works, figure out what is different in the two installs.

Plone error: This page does not seem to exist…

I am new to Plone and I just installed version 4.3.5. Everything works fine except for viewing uploaded files (PDF, PNG, Word, Excel, etc). When I click on the file link to view it, I get the following error: This page does not seem to exist…
Does anyone know how to fix this error?
This is a known issue affecting file downloads in Plone 4.3.5. You can downgrade to Plone 4.3.4, or wait for Plone 4.3.6 to be released.
First check basic things...
Checkout the link which is hitting your file is correct or not.
If Link is correct then see your configuration that actually hitting your file class.
If Link is hitting your file then to check its correctly hitting your class debbug it.
just print anything under __call__() method of class.
Another option is to, in your buildout, pin the latest plone.app.blob:
plone.app.blob = 1.5.15

Umbraco url's displaying home node in one node, sometimes

So I have an umbraco setup with a 'content' root node and then a 'home' node under that. Under the 'home' node is the content and the URLs are the name of those nodes for example I have a 'about u's node under home and it's URL is '/about-us/'
In the case of the 'news' node, below 'about us', its children some times get '/home/about-us/news/title' of the story as the URL, which throws a 404. I can see that this is the URL of the node on the properties tab, but if I republish it it returns to '/about-us/news/title' for a period before returning to the broken link.
I have only seen this behavior on this node, which contains new-item document types. I basically watched the umbraco tv video and created it following along.
It seems to be to be a umbraco bug, but I would really appreciate any help with the issue
In the web.config, there is a setting called umbracoHideTopLevelNodeFromPath. This causes the behavior you are describing when it is set to false. Do you perhaps have multiple people working on the site and publishing different versions of the web.config that have this setting changed?
When publishing a node with the setting set to false, it would add the /home part to the URL. Otherwise, it would leave off the /home.
Once the Umbraco application has started, there are several processes that run on a regular basis (e.g. to check for expired content). It is possible to piggy-back on these by creating a custom class that inherits from umbraco.cms.businesslogic.ApplicationBase. If you have created one that uses the Document.AfterPublish eventhandler then I would check that it is not causing the issue.
I'm assuming that you haven't written one of these though, so the only other thing I can suggest is checking whether it is an installed package that is causing the issue. Have you installed any Umbraco packages? If so, do they have any automated behaviours, like creating folders etc. If so, this may be causing the issue. The author of a package will usually have a website, codeplex project etc. and they will usually have a issue list or blog.
Edit
I've just quickly checked and uBlogsy, one of the plugins you mention exactly this. It has auto moving and sorting of posts. This is described in the release notes. If you are using this tool for creating news pages, then this will be your issue.
I followed obsidian's link in his answer and read about someone else having the same issue. It seems to be traces back to a umbraco.library:NiceUrlFullPath call in the RSS creator that was feeding news items. I replaced the umbraco.library:NiceUrlFullPath calls with umbraco.library:NiceUrl calls and the issue has disappeared.

Resources