Skip to content
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

WARequestHandler>>#preferenceAt: has no corresponding WARequestHandler>>#preferenceAt: ifAbsent: #716

Closed
GoogleCodeExporter opened this issue Mar 25, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Unless I've missed something obvious I don't see a way of asking for the value 
of a configuration attribute which could be missing without enclosing the call 
in an exception handler:

[
    fileuploadPathRoot :=  self preferenceAt: #fileuploadPathRoot ]
    on: WAAttributeNotFound
    do: [ :err | "would be so much easier with an option of:
                     self preferenceAt: #fileuploadPathRoot ifAbsent: [ ]" ] ]

not a major issue but seems inconsistent with other key value lookups.

Original issue reported on code.google.com by [email protected] on 1 Mar 2012 at 4:52

@GoogleCodeExporter
Copy link
Author

makes sense so me

Original comment by [email protected] on 6 Mar 2012 at 7:47

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 31 Aug 2012 at 11:46

  • Changed state: Started
  • Added labels: Type-CleanUp, Version-Seaside3.1
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Name: Seaside-Core-DenisDefreyne.777
Author: DenisDefreyne
Time: 31 August 2012, 2:24:25 pm
UUID: a341c86c-4197-4475-9f27-c0c19706d6a4
Ancestors: Seaside-Core-pmm.776

Issue 716: WARequestHandler>>#preferenceAt: has no corresponding 
WARequestHandler>>#preferenceAt: ifAbsent:

Name: Seaside-Tests-Core-DenisDefreyne.260
Author: DenisDefreyne
Time: 31 August 2012, 2:26:05 pm
UUID: 4ce3030a-ef61-4cdf-8011-b4863b0237f6
Ancestors: Seaside-Tests-Core-pmm.259

Issue 716: WARequestHandler>>#preferenceAt: has no corresponding 
WARequestHandler>>#preferenceAt: ifAbsent:

Original comment by [email protected] on 31 Aug 2012 at 12:35

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant