Ploneboard conflict with AccessControl? - plone

i’m trying to install the latest Ploneboard (v3.6) on a Plone 4.2 site, but getting the error
The version, 2.13.11, is not consistent with the requirement, AccessControl>=3.0
i see that the most recent Ploneboard change log for this version mentions "Fixed dependency for AccessControl. Plone < 4.3 have an old version pinned [cekk]”
anyone see what is wrong in this picture? thanks for any clues.

Since version 3.6 PloneBoard requires AccessControl>=3.0.
The Problem in your case is, that Plone 4.2.x has an older version pinned:
Check: http://dist.plone.org/release/4.2-latest/
If you run ./bin/buildout annotate | grep -C 5 AccessControl.
You will see which buildout configuration pins the version of AccessControl.
...
[versions]
AccessControl= 2.13.13
http://dist.plone.org/release/4.2-latest/versions.cfg
...
In your case you need to override this version pinning in your buildout.cfg (or versions.cfg).
[versions]
AccessControl = 3.0.8 # For example
I don't know which version of AccessControl works with Plone 4.2.x.
But 3.0.x seems suitable.

Related

Why does oidcUserAuthority.getUserInfo() return null after upgrading to 5.6.9 and 5.7.5

I have upgraded from 5.6.2 due to the new vulnerabilities. I also upgraded the other dependencies. In version 5.6.2, oidcUserAuthority.getUserInfo() returns the correct values. But in the newer versions of the jar, it is always null. How do you handle it?
Already tried upgrading all other dependencies to the same version and also updated the spring-aop etc to 5.2.23
It's due to https://github.com/spring-projects/spring-security/issues/12144 - the fix is scheduled for the 5.6.10 release.

Symfony ICU Issue, routes using locale different than EN will fail

After installing Yosemite and a new version of MAMP
and when I'm trying to execute
domain/app_dev.php/es/venues/3/show
This route is rendering a form containing a language type field, so it's requiring ICU.
being 'es' the locale i get errors. If I changed it to 'en' there's no problem.
The errors are:
[1/2] ResourceBundleNotFoundException: The resource bundle
"/Users/a77/Documents/DEV/UVox
Com/vendor/symfony/icu/Symfony/Component/Icu/Resources/data/lang/root.php"
does not exist.
[2/2] Couldn't read the indices [Languages] from
"/Users/a77/Documents/DEV/UVox
Com/vendor/symfony/icu/Symfony/Component/Icu/Resources/data/lang/es.res".
The indices also couldn't be found in the fallback locale(s)
"root.res".
My symfony version is 2.5, I'm running the MAMP PHP 5.5.10.
I updated dependencies via composer, including "symfony/intl": "*",
I have followed several webs in order to install icu and intl via pecl. But still get the error. I don't know how to check if the installations or the configs are ok. Maybe you can let me know how to test both via terminal and let you know what is the result...
This is because you are trying to get resources only for language es. But now (from the moment of importing to Symfony icu data) you need to get language resources via language and country codes es_ES.
You may not be able to just simply activate intl.so after the Yosemite update. I solved the issue installing intl.so following an excellent article by Danilo Braband http://dab.io/posts/getting-started-with-symfony-on-yosemite.html
Solved updgrading to Symfony 2.5.6

How to download a specific version of ASP.NET MVC 5 source code

I'm looking for ASP.NET MVC 5.0 RTM source code. I've tried to download this from http://aspnetwebstack.codeplex.com/ but it seems to have only the most recent version 5.1.1 RTM. I've tried with no success to download for a specific tag or branch. In Source Code tab, in field "Browsing Changes in" the only options are "master" or "v3-rtm".
Could someone help me with this?
As per their wiki:
MVC 5.2.3 RTM = v3.2.3 (commit 0e974218e12a)
https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/0e974218e12a
MVC 5.2.2 RTM = v3.2.2 (commit 66298100f4e3)
https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/66298100f4e3
MVC 5.1.3 RTM = v3.1.3 (commit 0150245a9e34)
https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/0150245a9e34
MVC 5.1.1 RTM = v3.1.1 (commit 54866f0d3262)
https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/54866f0d3262
MVC 5.0 RTM = v3.0 (commit 39391d3a64d7)
https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/39391d3a64d7
MVC 4.0 RTM = v2.0 (commit 89b9166ca722)
https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/89b9166ca722
In general way, if you have already cloned the repository. You can use the Git commands:
git show-ref --tags
Your will see something like:
89b9166ca72279fcb62bff67c6224993371ed765 refs/tags/v2.0
a1b7c04f72277e6dfc459d8d6948260d26ccc6c9 refs/tags/v2.0-rc
d4dab6e6c0b181ee56593a3a514faab7f407e1f2 refs/tags/v2.0.1
f276aa28c436c598e3c2a8e09d052e2b17630ab0 refs/tags/v2.0.2
75b5e7ea58d2a120242ff0d840600e33e9b65882 refs/tags/v2.0.3
26665357e13c050d298310e0f5c7925af32a66cd refs/tags/v2.0.4
1b78397f32fc13ea321647b5039755df4be58558 refs/tags/v2.1
235544cf12a25d2fd072c1eafec4c681c9d6068e refs/tags/v2.1-beta
f079d76e57b557d0215dbbaf5d398f64a74ebf90 refs/tags/v2.1-rc
39391d3a64d71ae735f7620ae082aea5f05cb0e0 refs/tags/v3.0
...
or
git tag -n
And all tags with their comments will be promped:
fbv1.0 Microsoft.AspNet.Facebook v1.0
fbv1.1 Upgrade ODataLib version from 6.7.0 to 6.8.0
fbv1.1-beta Microsoft.AspNet.Facebook 1.1.0 Beta
odata-v5.3 Update Microsoft.AspNet.Facebook version.
v2.0 Added copyright statements to files lacking it.
...
Select the version to download by the tag, and executed the git rev-parse command to get the id of the commit: For example:
> git rev-parse --short=12 v3.2.3
> 0e974218e12a //This is the first 12 characters of SHA commit.
With the first 12 characters of the SHA of the commit you can now build the url. For example:
Version 3.2.2 = https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/66298100f4e3
Version 3.2.3 = https://aspnetwebstack.codeplex.com/SourceControl/changeset/view/0e974218e12a
...
or just call git checkout command:
git checkout v3.2.3
This might be helpful when looking for sources of concrete MVC/WebAPI/Web Pages version:
https://aspnetwebstack.codeplex.com/wikipage?title=Building%20from%20Source
Looks like the CodePlex repo, with all history, was migrated to GitHub!
https://github.com/aspnet/AspNetWebStack
They even have a milestone for ASP.Net MVC 5.2.4, although it seems somewhat dead:
https://github.com/aspnet/AspNetWebStack/milestone/1
The Releases tab contains the appropriate versions as per #outlookrperson's answer (basically, add 2 to the major version in the tag, e.g. tag 3.2.3 = MVC 5.2.3).

Aptana Studio 3 and Twig plugin

So I am trying to install Twig plugin from http://p2-dev.pdt-extensions.org but getting this message:
Cannot complete the install because one or more required items could not be found.
Software being installed: Twig Editor Feature 1.0.13.201309142024 (com.dubture.twig.feature.feature.group 1.0.13.201309142024)
Missing requirement: com.dubture.twig.core 1.0.13.201309142024 (com.dubture.twig.core 1.0.13.201309142024) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Twig Editor Feature 1.0.13.201309142024 (com.dubture.twig.feature.feature.group 1.0.13.201309142024)
To: com.dubture.twig.core [1.0.13.201309142024]
Is there a solution to that problem?
These plugins are compatible with Eclipse 3.4 up-to (but not including) 4.0.0 so... you can't install it on Aptana 3.
I found answer here: Solution

Getting a Buildout Cache, so that buildout will work when download.zope.org is down

This blog gives a summary of how to use buildout when download.zope.org is down http://devblog.4teamwork.ch/blog/2013/06/06/download-dot-zope-dot-org-is-down-how-to-fix-buildout/ however it is specific to Plone 4.2.
How do I go about getting a similar cache for Plone 4.3.1 so that my buildout won't fail when download.zope.org is down?
In the case of this particular outage, you don't need a cache[1]: you need a valid extends = target. I've just fixed my Plone 4.3 buildout to avoid download.zope.org[2]. This should work for you:
[buildout]
extends = https://raw.github.com/plock/pins/master/plone-4-3
[plone]
#eggs +=
[1] Because Plone extends configuration files located on download.zope.org: http://dist.plone.org/release/4.3.1/versions.cfg
[2] As soon as a find the appropriate Zope configuration files, I'll fix 4.3.1 too.

Resources