-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container error using templates from different sites #18780
Comments
As @bryanboza said, this is a very common use case. Please treat this ticket as high priority |
Next release based on this conversation: https://dotcms.slack.com/archives/CE1TBQU00/p1593122028046400 |
* #18571 Testing * Update Reltionship_cache_in_push_publish.postman_collection.json * Update Reltionship_cache_in_push_publish.postman_collection.json * Update Reltionship_cache_in_push_publish.postman_collection.json * Update Reltionship_cache_in_push_publish.postman_collection.json * #18780 Testing * #18571 bundle files
PR: #18935 |
Note to QA: Tested:
the follow statement was run in the data base before and after the task upgrade select count(*) from template where drawed_body LIKE '%demo.dotcms.com%’, the result before the tsk upgrade was 0, after was 82.
After run first the TaskUpgrade and flush cache
|
Container resolution strategy
|
Also, we need to show the host next to the container in the layout screen. |
PR: |
Passed Internal QA: Failing case mentioned above is now working. |
* #16796 adding fixes and comments to support the jwt on pp * #16796 Fixing error when some parameters not come in the request * #16796 Testing * #16796 refactoring/testing * #16796 testing * #16796 refactorign * #16796 Refactoring * Revert "#16796 refactoring/testing" This reverts commit d06b4af. * refactoring * #16796 Fixing Test * #16796 Fixing PP error * #16796 Sending JWT token in PP request * #16796 Removing receiver configuration from jsp * #18690 Using JWT token in integrity checker * #16796 Show invalid token message when IC fails with a invalid token * #16796 Removing end poitn id from fix conflicts end point * #16796 Adding Task Upgrade * #16796 Not show token when it is invalid or expired * #16796 Allow switch between old way token and JWT token in Push Publish * #16796 Allow switch between old way token and JWT token in Push Publish * #16796 Postman Testing * #16796 Postman Testing * #16796 Testing * #16796 * #16796 testing * #16796 undo change * Revert "#16796 undo change" This reverts commit b1c4fc2. * #16796 undo change * #16796 undo change * #16796 undo change * #16796 undo change * Adding doc * #16796 Refactoring * refactoring * Revert "refactoring" This reverts commit d949dcc. * #16796 Using PP ols way as fallback * #18780 Fixing Push publish fallback * Fixing test * fixing test * Testing * fixing test * Fixing test * fixing test * fixing test * Fixing testing * fixing testing * Fixing integration test * Fixing test * Fix testing * Fixing test * Fixing testing * Fixing test * #16796: Chaging Quartz 'isJobRunning' implementation * Fixing testing * Fixing test * Testing * Java doc Co-authored-by: jdotcms <jonathan.sanchez@dotcms.com> Co-authored-by: Victor Alfaro <victor.alfaro@dotcms.com>
|
Passed Internal QA: Failures reported by @bryanboza on the last comment are working as expected |
Fixed, tested on release-5.3.9. // Postgres // FF |
* Update dotcmsReleaseVersion and coreWebReleasion version * update release version * #18505 JSONTool does not return sub arrays * #18505 now the JSONTool uses the Jackson to map the string json as a single Maps and Lists * #18505 now the JSONTool uses the Jackson to map the string json as a single Maps and Lists * #19364 Unable to edit category permissions as limited user even you have full rights * #18314 Make Query Tool Use fetch() to fill response * #19098 SAML update logout page. (#19450) * include css in jsp * label updated * Updating sql files (#19478) * Updating sql files to remove contraints * Updating sql files to remove contraints * #18690 Allow Push publish just for enterprise license in the receiver (#19492) * #18690 Allow Push publish just for enterprise license in the receiver * testing * Fixing test * Issue 19500 sql injection containers (#19501) * #18605 pauses and then unpauses based on a cache invalidation * #18605 adding ttl to the cache put in the logger * #18605 less logging * #19500 sanitize sql * #19500 fixes potential sql vunerabilities * #19500 writing tests * #19500 tests * we should not need TLS set to true * #19500 removing unneeded files * #19338 dont lowercase (#19506) * #19338 dont lowercase * #19338 integration test * #19338 missing test resource * #19509 use proper db columm in query (#19510) * #19509 use proper db columm in query * #19509 use proper property from contentlet * #19509 fix integration test * #19509 fix integration test * #19471 Use proper value when discarding conflicts (#19519) * #18780 fixes job when new hostname starts with original hostname (#19522) * #19509 Fixing bug when use comma in host's name (#19528) * #19509 Fixing bug when use comma in host's name * Fixing test * update core-web version * merge with master * Update .gitmodules * Update gradle.properties Co-authored-by: Jonathan <jonathan.sanchez@dotcms.com> Co-authored-by: erickgonzalez <erick.gonzalez@dotcms.com> Co-authored-by: hmoreras <31667212+hmoreras@users.noreply.github.com> Co-authored-by: Freddy Rodriguez <freddy0309@gmail.com> Co-authored-by: Will Ezell <will@dotcms.com>
This is seen here https://dotcms.zendesk.com/agent/tickets/105352 as a current customer issue |
This will not be backported to 5.3.8.X as the changes are too extensive |
* dotCMS#18780 Show host name in container selector * dotCMS#18780 rollback * dotCMS#18780 testing
* progress * progress * event handler tests * test update * model import * feedback * Issue 18780 show host name in container selector (#1419) * dotCMS#18780 Show host name in container selector * dotCMS#18780 rollback * dotCMS#18780 testing * progress * progress working before clean up * cleanup before tests * test update * clean up * support other evetns in dot-workflow-task * Update dotcms-models * Update package-lock Co-authored-by: Freddy Rodriguez <freddy0309@gmail.com> Co-authored-by: GH Pages Bot <hello@ghbot.com>
We have problems when you use a file-based container and templates from different sites, we have a NotFoundInDbException and we are unable to edit the page.
To recreate:
Stacktrace
ST: https://gist.github.com/bryanboza/9eccb75cd8c597cf1542e58a1212dd5e
Expected
We need be able to support that case since is a common use case
Testing info:
Tested on release-5.3.3 // Postgres // FF
Fix: The fix was use always absolute path into the page's layout, the relative path only will be allow in advance template and it should be resolve using the current host.
Also was created a Task Upgrate to change all the relative path in not advance template into absolute path.
Also a Job was created to change all the host's name in the absolute path when the host's name was changed in edit content
The text was updated successfully, but these errors were encountered: