Jahia in English > Updated footer mixin...

0 (0 Good)
0 (0 Bad)

Updated footer mixin breaks all pages

by  sakuraba »  2011/06/07 18:50

Hi,

I just updated my footer mixin and it breaks all pages. It seems that the additional containerlist does not get synced with the database. Here is my content definition:


before:

[code:bj1rat46]
/1
[/code:bj1rat46]

Even after restarting the Jahia server, the changes from the updated mixin will not be proliferated to the pages using it.

I could reproduce this by forcing the method JahiaContainerSet.declareContainer to be executed (using tricks with the remote debugger). This method takes care of storing changes from content definitons to the database. But it only worked for one site (the page I was requesting during that debug session)! All the other pages that are using the mixin are still giving me the error above.


Can I force Jahia to add the appropriate database entries of the updated mixin to the containers/pages somehow?
  • Updated footer mixin breaks all pages
    2011/06/07 18:50

    sakuraba Hi,<br/><br/>I just updated my footer mixin and it breaks all pages. It seems that the additional containerlist does not get synced with the database. Here is my content definition:<br/><br/><br/>before:<br/><br/>[code:bj1rat46]<br/>/1<br/>[/code:bj1rat46]<br/><br/>Even after restarting the Jahia server, the changes from the updated mixin will not be proliferated to the pages using it. <br/><br/>I could reproduce this by forcing the method JahiaContainerSet.declareContainer to be executed (using tricks with the remote debugger). This method takes care of storing changes from content definitons to the database. But it only worked for one site (the page I was requesting during that debug session)! All the other pages that are using the mixin are still giving me the error above.<br/><br/><br/>Can I force Jahia to add the appropriate database entries of the updated mixin to the containers/pages somehow?

  • Number of messages  12
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Updated footer mixin breaks all pages

    by  shyrkov »  2011/06/07 18:50

    Hello,

    could you, please, precise, with which Jahia version and build number this happens?

    Kind regards
    Sergiy
  • Re: Updated footer mixin breaks all pages
    2011/06/07 18:50

    shyrkov Hello,<br/><br/>could you, please, precise, with which Jahia version and build number this happens?<br/><br/>Kind regards<br/>Sergiy

  • Number of messages  407
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Updated footer mixin breaks all pages

    by  sakuraba »  2011/06/07 18:50

    Hi,

    I am using the 6.0 Community Edition release 25203.

    This behavior does not appear when updating regular containers, it only happened to me when updating a mixin.


    Best regards,
    sakuraba
  • Re: Updated footer mixin breaks all pages
    2011/06/07 18:50

    sakuraba Hi,<br/><br/>I am using the 6.0 Community Edition release 25203.<br/><br/>This behavior does not appear when updating regular containers, it only happened to me when updating a mixin.<br/><br/><br/>Best regards,<br/>sakuraba

  • Number of messages  12
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Updated footer mixin breaks all pages

    by  sakuraba »  2011/06/07 18:50

    This has now propagated to every update of a container definiton.

    It seems like Jahia does not evaluate changes to my definitions.cnd anymore.


    Whenever I change that file and deploy it, I get

    2011-05-05 16:24:16,495: DEBUG [org.jahia.registries.JahiaContainerDefinitionsRegistry] - Couldn't find container definition for siteID=2 and name= ....

    Caused by: java.lang.NullPointerException
    at org.jahia.data.containers.JahiaContainerSet.ensureContainerList(JahiaContainerSet.java:1665)
    at org.jahia.data.containers.JahiaContainerSet.getContainerList(JahiaContainerSet.java:1253)


    Help me, please, I cannot get my site to run again.
  • Re: Updated footer mixin breaks all pages
    2011/06/07 18:50

    sakuraba This has now propagated to every update of a container definiton.<br/><br/>It seems like Jahia does not evaluate changes to my definitions.cnd anymore.<br/><br/><br/>Whenever I change that file and deploy it, I get <br/><br/>2011-05-05 16:24:16,495: DEBUG [org.jahia.registries.JahiaContainerDefinitionsRegistry] - Couldn't find container definition for siteID=2 and name= ....<br/><br/>Caused by: java.lang.NullPointerException<br/> at org.jahia.data.containers.JahiaContainerSet.ensureContainerList(JahiaContainerSet.java:1665)<br/> at org.jahia.data.containers.JahiaContainerSet.getContainerList(JahiaContainerSet.java:1253)<br/><br/><br/>Help me, please, I cannot get my site to run again.

  • Number of messages  12
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Updated footer mixin breaks all pages

    by  sakuraba »  2011/06/07 18:50

    This is the final nail in Jahia's coffin for us.
  • Re: Updated footer mixin breaks all pages
    2011/06/07 18:50

    sakuraba This is the final nail in Jahia's coffin for us.

  • Number of messages  12
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Updated footer mixin breaks all pages

    by  shuber »  2011/06/07 18:50

    Hello,

    If you try this on a clean Jahia install do you have the same problem ?

    Regards,
    Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Updated footer mixin breaks all pages

    by  faissah »  2011/06/07 18:50

    Hello sakuraba,

    I am sorry to hear about your disappointment.
    Please do understand that you cannot expect Professional support from a community forum. If your issue is critical we do recommend you contact our support services.
    If it isn't critical, the community may get back to you with the appropriate answer, but it is important you understand there aren't any guarantees or SLA (your thread started only 10 days ago)

    Regards,
    Fabrice

    Fabrice  (faissah)

    Number of messages  264
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page