since ‎12-01-2017
2 hours ago
jamiec4451712
Level 2
Re: Replication Queue blocked - Failed to register namesp...
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
Our team recently came across this issue as well. Symptoms:Replication queue stuck and has pending itemsReplication log shows: error: com.day.cq.replication.ReplicationException: Repository error during node import: Failed to register namespace mapping xmpGImg -> http://ns.adobe.com/xap/1.0/g/img/Resolution:Visit the CRX Explorer (https://hostname.or.ip/crx/explorer/index.jsp)Click "Node Type Administration"Click "Namespaces"Add a new namespaceURL: http://ns.adobe.com/xap/1.0/g/img/Prefix: xmpGI...

Views

297

Like

1

Replies

0
I know this is an old question, but our team ran into a v...
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
I know this is an old question, but our team ran into a very similar issue and I posted details of our solution here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-session-cookie-with-httponly-and-secure-flag/qaq-p/206712/comment-id/75793#M75793

Views

2.7K

Like

1

Replies

0
Re: setting Secure and HttpOnly flag in Cookie
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
I know this is an old question, but our team ran into a very similar issue and I posted details of our solution here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-session-cookie-with-httponly-and-secure-flag/qaq-p/206712/comment-id/75793#M75793

Views

694

Like

1

Replies

1
Re: Make login-token cookie secure
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
I know this is an old question, but our team ran into it recently and found a solution that may be helpful to others. I decompiled AEM's TokenUtil class and tried to find the place where the login-token cookie is set, and the secure flag is set or not based on the request's isSecure() method. If the request is secure, then the flag is set. Otherwise, it's not. So the question really becomes: how do we get the request to be marked as secure. It ends up there's a few solutions here. The first is t...

Views

2.0K

Likes

0

Replies

0
Re: AEM Session Cookie with httponly and secure flag
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
I know this is an old question, but our team ran into it recently and found a solution that may be helpful to others. I decompiled AEM's TokenUtil class and tried to find the place where the login-token cookie is set, and the secure flag is set or not based on the request's isSecure() method. If the request is secure, then the flag is set. Otherwise, it's not. So the question really becomes: how do we get the request to be marked as secure. It ends up there's a few solutions here. The first is t...

Views

888

Likes

2

Replies

0
Adobe Admin Console Support Portal: Don't hide ticket details.
Avatar

jamiec4451712

jamiec4451712
- Experience Cloud Community Feedback
Some of our clients are now using the new Adobe Admin Console Support Portal. It's a huge improvement over Daycare, but there's one UI choice that I find quite strange. The details of each ticket are hidden in a sidebar. You click a link that says "Details" and it opens the details in a flyout sidebar. The initial ticket information is some of the most important info. Also, users are not always able to come up with a good name for a ticket, so sometimes the name alone does not help users differe...

Views

962

Like

1

Replies

1
Re: Multifield in content fragment model
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
I am currently looking into the same thing. Basically, Content Fragments appear to be AEM's solution to Content Types for structured data, instead of for abstract information. However, sometimes this structured data gets really complicated.I came across this article which seems like it may be on the right track. I'm going to give it a shot, but just wanted to add this to the thread since this is the first result for a lot of related queries on Google.

Views

2.5K

Likes

0

Replies

0
Get rewritten URL in Java/Rhino
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
Hey everyone,I'm looking for a way to get a fully rewritten URL before the URL is written to the HTML response. For example, I have a page located at the path: /content/mysite/en/page. This means that when working locally, I will access it at something like http://localhost:4502/content/mysite/page.html. However, in higher environments, there are outbound mappings that will rewrite this URL if it appears on a page. For example, a link on my homepage may be rewritten to something like: /content/m...

Views

749

Likes

0

Replies

1
Re: Persisting Sling Model / OCM
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
Hey Brendan,Thanks for the in depth reply. I’ve added the dependencies and modified the maven-bundle-plugin, but I’m still struggling to get OCM installed in AEM.I see the pom for jackrabbit-ocm downloading when I install, yet my autocomplete is not working in IntelliJ and the ocm reference is null when I debug. The project does compile.The OCM package also does not show up in the AEM depfinder, which leads me to believe this is why the actual reference to the OCM reference is null. Are you able...

Views

1.0K

Likes

0

Replies

0
Persisting Sling Model / OCM
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
I'm having a really hard time understanding what options there are out there for writing Java objects back to the JCR in some organized fashion. I came across Jackrabbit OCM (Object Content Mapping), but I can't for the life of me find any information on how it can be installed into AEM. I checked the depfinder and it's not already bundled, so I tried to find the JAR online, but there's no Maven repo for it (and it's not in the Adobe Public repo). I'm now trying to compile from source but once I...

Views

1.5K

Likes

2

Replies

3
Re: getting error while installing a package
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
This isn't a realistic error. This is happening to you during a dry run install (test install). The way this works (for some reason) is that the session reverts all changes it's made every 1024 nodes. So basically, your package installs a bunch of nodes, then they're reverted (removed) and then it tries to install one of their children, which throws this error.The solution is to just install the package without testing (this error won't happen then) or break the package down into smaller pieces....

Views

1.1K

Like

1

Replies

0
AEM 6.4 - No overlay in Edit or Design more
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
I'm updating an AEM application from 6.2 to 6.4. After the update, things are working normally. However, in edit mode and design mode, there is no overlay, hover states, or drag and drop areas. I can't edit anything, no components show up in the sidekick or the content tree, and I can't use design mode to update the settings for the page or parsys, because there is no overlay there either. Basically, there is no way for me to interact with the page via edit, design, or targeting mode. I'm wonder...

Views

2.7K

Like

1

Replies

2
AEM Image Component with uploaded SVG
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
On an AEM 6.4 site, I am trying to allow authors to upload SVG images to an image component.The dialog that accepts the image is:The component simply takes the URL of the uploaded image and places it into an image element.When the author uploads the image, it displays in the dialog fine, and the image uploads normally. However, when the component is rendered, or when the dialog is re-opened, Chrome throws an error loading the image if I use a full path to the asset. This is because either the im...

Views

10.5K

Likes

4

Replies

10
Re: Error "File /META-INF/tags/HelloTag.tag not found" when creating custom JSP Tag lib
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
I'm having the exact same issue as the other folks on this issue. arunjoshh​ are you able to confirm that Adobe has a patch available?

Views

4.7K

Like

1

Replies

1
Re: Links disappearing from RTE
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
Kautuk,Our team has a client experiencing the exact same issue. The code you provided does not resolve the problem. Is there any other direction we can take to solve this without going through daycare? Any hotfix or other update we can try?

Views

1.0K

Likes

0

Replies

0
Re: Edit SAML SP Initiated Response
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
Thanks for the reply. The problem is that the IDP does not have a session store, so loses SP context during SP initiated authentication and cannot properly redirect the user to the consume URL. The solution is to urlencode the AuthnRequest and other parameters and place them in the query string. The simplest way to do this is to change that form from a POST to a GET. That simple change will solve our problems. Essentially, the IDP does not currently support SP initiated via POST. AEM does not pr...

Views

1.1K

Likes

0

Replies

0
Edit SAML SP Initiated Response
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
Hey everyone,I'm working on a site that uses SAML for SSO and have run into a small snag with the IDP. The IDP requires some additional configuration that is not available in the OOTB SamlAuthenticationHandler. Namely, I need to modify the form that is sent back to the browser. The form sent back has some JavaScript and a form in it that sets the request-path cookie and POSTs the SAML AuthnRequest to the IDP. An example is: POST data function setRequestPathCookies() { var requestPath = escape(document.location.pathname); var query = escape(document.location.search); if (query) requestPath += "?" + query; var hash = escape(document.location.hash.substring(1)); if (hash) document.cookie = "anchor_backup=" + hash + ";path=/;"; document.cookie = "saml_request_path=" + requestPath + ";path=/;"; } Note: Since your browser does not support JavaScript, y...

Views

1.9K

Likes

0

Replies

3
Re: Cannot use SCF.addComponent manually
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
Thanks for your answer,The documentation you linked states that I should be using SCF.addComponent, which is the exact situation I'm describing above. My primary concern here is that there's literally a line of code that says:var model = addModel(component);where addModel does not return a value. Clearly this is a bug, and I should in fact be using SCF.addComponent, especially when the element has been lazy loaded as an HTML resource, so it has the data-component-id and data-scf-component alread...

Views

888

Likes

0

Replies

0
Re: Cannot use SCF.addComponent manually
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
To follow up here, if I attempt to pass in component.model and component.view directly, the entire page breaks (like, browser crashes). However, if I simply return the model and view in addView and addModel, the error is gone and all works as expected.

Views

876

Likes

0

Replies

0
Cannot use SCF.addComponent manually
Avatar

jamiec4451712

jamiec4451712
- Adobe Experience Manager
Hey everyone,I'm working on some pretty heavy SCF extensions and have come across an error that looks like it's code that was refactored incompletely. When the SCF loads, the fullBootstrap method is called, which in turn adds the views and models to each component using the two functions addView and addModel. This works fine when the page is rendered normally. I am trying to dynamically inject components into modals when elements are clicked. Due to the specific nature of this problem, I am tryi...

Views

1.4K

Likes

0

Replies

3