Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7681

Update ./ant create-component template for controller.xml to reflect change in OFBIZ-7061

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None

      Description

      The recent change effected in code base as a result of OFBIZ-7061 needs to be applied to the template used for the controller.xml file in the ./ant create-component process.

        Activity

        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Yes, this is related to namespaces declarations changes, I put a comment at bottom of OFBIZ-7061

        Show
        jacques.le.roux Jacques Le Roux added a comment - Yes, this is related to namespaces declarations changes, I put a comment at bottom of OFBIZ-7061
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Not a problem: all concerned files are already changed.

        Look for xsi:schemaLocation vs noNamespaceSchemaLocation in framework/resources/templates.

        But if you have already used the create-component Ant target you need of course to change them by hand. Unfortunately we use the same schemas files for all versions. But you can use the XML catalogs to get rid of these, at least in Eclipse... Maybe we should see if we cannot improve XmlFileLoader to also use catalogs to get rid of error messages in logs...

        Show
        jacques.le.roux Jacques Le Roux added a comment - Not a problem: all concerned files are already changed. Look for xsi:schemaLocation vs noNamespaceSchemaLocation in framework/resources/templates. But if you have already used the create-component Ant target you need of course to change them by hand. Unfortunately we use the same schemas files for all versions. But you can use the XML catalogs to get rid of these, at least in Eclipse... Maybe we should see if we cannot improve XmlFileLoader to also use catalogs to get rid of error messages in logs...

          People

          • Assignee:
            jacques.le.roux Jacques Le Roux
            Reporter:
            pfm.smits Pierre Smits
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development