Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-128

Patches for ticket monster app don't apply

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • None
    • None
    • ticket-monster
    • None

    Description

      When running the admin_layer.fsh script, one gets asked to apply a bunch of patched. None of the patches applies cleanly:

      ...
       ? Apply manual functional changes described in tutorial? [Y/n] 
      Applying manual changes described in tutorial based on admin_layer_functional.patch
      error: patch failed: demo/src/main/webapp/index.xhtml:1
      error: demo/src/main/webapp/index.xhtml: patch does not apply
       ? Apply manual fixes for FORGE-587,FORGE-589? [Y/n] y
      Applying manual fixes for FORGE-587,FORGE-589 based on admin_layer_fixes.patch
      error: patch failed: demo/src/main/webapp/admin/booking/search.xhtml:25
      error: demo/src/main/webapp/admin/booking/search.xhtml: patch does not apply
      error: patch failed: demo/src/main/webapp/admin/event/search.xhtml:25
      error: demo/src/main/webapp/admin/event/search.xhtml: patch does not apply
      error: patch failed: demo/src/main/webapp/admin/eventCategory/search.xhtml:25
      error: demo/src/main/webapp/admin/eventCategory/search.xhtml: patch does not apply
      error: patch failed: demo/src/main/webapp/admin/mediaItem/search.xhtml:25
      error: demo/src/main/webapp/admin/mediaItem/search.xhtml: patch does not apply
      error: patch failed: demo/src/main/webapp/admin/performance/search.xhtml:25
      error: demo/src/main/webapp/admin/performance/search.xhtml: patch does not apply
      error: patch failed: demo/src/main/webapp/admin/section/search.xhtml:26
      error: demo/src/main/webapp/admin/section/search.xhtml: patch does not apply
      error: patch failed: demo/src/main/webapp/admin/show/search.xhtml:25
      error: demo/src/main/webapp/admin/show/search.xhtml: patch does not apply
      error: patch failed: demo/src/main/webapp/admin/ticketCategory/search.xhtml:25
      error: demo/src/main/webapp/admin/ticketCategory/search.xhtml: patch does not apply
      error: patch failed: demo/src/main/webapp/admin/ticketPrice/search.xhtml:25
      error: demo/src/main/webapp/admin/ticketPrice/search.xhtml: patch does not apply
      error: patch failed: demo/src/main/webapp/admin/venue/search.xhtml:26
      error: demo/src/main/webapp/admin/venue/search.xhtml: patch does not apply
       ? Apply manual visual changes? [Y/n] 
      Applying manual visual changes based on admin_layer_graphics.patch
      error: demo/src/main/webapp/admin/index.xhtml: No such file or directory
      demo/admin_layer_graphics.patch:1124: new blank line at EOF.
      +
      error: the patch applies to 'demo/src/main/webapp/resources/forge-logo.png' (021a4735ea8a5cd4e442bcc823d0d18bb424146f), which does not match the current contents.
      error: demo/src/main/webapp/resources/forge-logo.png: patch does not apply
      error: patch failed: demo/src/main/webapp/resources/scaffold/pageTemplate.xhtml:7
      error: demo/src/main/webapp/resources/scaffold/pageTemplate.xhtml: patch does not apply
       ? Deploy to JBoss AS 7? [Y/n] n
      ...
      

      Why are there even patches required. Should the tip of the repo not always work out of the box?

      Attachments

        Issue Links

          Activity

            People

              marius.bogoevici Marius Bogoevici (Inactive)
              hardy.ferentschik_jira Hardy Ferentschik (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: