Receiving a 404 "Page Not Found" error when trying to change the logo in the API Developer Portal front-end.

Document ID : KB000004536
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When changing the logo in CA API Developer Portal 3.5CR2 via Dashboard > Site Settings > Appearance, a 404 HTTP error is displayed upon saving the new logo to the API Developer Portal.

Environment:
This problem affects CA API Developer Portal version 3.5CR2. Versions 3.5 (base) and 3.5CR1 are not affected by this problem.
Cause:

There was a code change done in 3.5CR2 in regards to the handling of multipart file uploads. That change unintentionally and adversely affected the logo change task only, while improving performance of file uploads in all other areas of the CA API Developer Portal product in 3.5CR2.

Resolution:

If a CA API Developer Portal 3.5CR2 instance is affected by this problem, the following steps will need to be completed to restore the CA API Developer Portal to the previous condition for three particular files which impact this behaviour:

  1. As an administrator user, go to the content management system (CMS) and click the top menu and navigate to Content Items > resources > branding
  2. Select Properties for basic-portal-styles.css
  3. Go to the Versions tab and click Revert on the line representing the previous version, and then close the window.
  4. Refresh the page for the branding directory to show the changes made in step 3 above
  5. Publish the change made in step 3
  6. Repeat steps 2-5 for portal-styles.css and /config/portal-styles.xml
Additional Information:

This is currently tracked as DE231726 internally, and will be permanently resolved in a future release (expected to be 3.5CR3).