Doctrine 1
  1. Doctrine 1
  2. DC-392

Let the parser ignore .* (hidden) files

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.6
    • Fix Version/s: None
    • Component/s: File Parser
    • Labels:
      None

      Description

      When generating models from yml files starting with a `.' such as temporary files from certain editors and meta files from OS X are also parsed by the importer. I do not see any reasons too include these hidden files in parsing as they are hidden for a purpose. And there would be no point in deliberately using hidden files for your config files.

      Also see:
      http://blog.rajatpandit.com/2009/08/23/doctrine_parser_exception-fail-some-error-message/
      and
      http://alessandrovermeulen.me/2010/01/01/doctrine-unable-to-parse-string-unable-to-parse-line-0/

        Activity

        Hide
        Alessandro Vermeulen added a comment -

        Added affected versions.

        Show
        Alessandro Vermeulen added a comment - Added affected versions.
        Hide
        Jonathan H. Wage added a comment -

        We can include this fix in 1.2.3, does anyone have a patch? If not I'll try and hunt down the offending code and patch it. Not sure where it is off the top of my head anymore

        Show
        Jonathan H. Wage added a comment - We can include this fix in 1.2.3, does anyone have a patch? If not I'll try and hunt down the offending code and patch it. Not sure where it is off the top of my head anymore

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Alessandro Vermeulen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: